1. Phix+IuP:Did IupDestroy() change from procedure to function?

I've got an error now where there used to not be:

IupDestroy(IupNormalizer({exchlbl,pairlbl},"NORMALIZE=BOTH")) 
^ function result must be assigned or used 

Did IupDestroy() become a function at some point between then and now? smile

new topic     » topic index » view message » categorize

2. Re: Phix+IuP:Did IupDestroy() change from procedure to function?

euphoric said...

I've got an error now where there used to not be:

IupDestroy(IupNormalizer({exchlbl,pairlbl},"NORMALIZE=BOTH")) 
^ function result must be assigned or used 

Did IupDestroy() become a function at some point between then and now? smile

Yes, as mentioned half way down https://openeuphoria.org/forum/135185.wc?last_id=135314

Phix 0.8.2 uploaded said...

IupDestroy is now a function to encourage nullification of destroyed handles.

In the above case you'll need a {} = prefix, elsewhere it'll be more like popup = IupDestroy(popoup).

(If this is going to be a significant issue, let me know before you start anything.)

new topic     » goto parent     » topic index » view message » categorize

3. Re: Phix+IuP:Did IupDestroy() change from procedure to function?

Great! Thank you!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu