1. Phix+IuP:Did IupDestroy() change from procedure to function?
- Posted by euphoric (admin) Jan 03, 2021
- 713 views
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?
2. Re: Phix+IuP:Did IupDestroy() change from procedure to function?
- Posted by petelomax Jan 04, 2021
- 703 views
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?
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.)
3. Re: Phix+IuP:Did IupDestroy() change from procedure to function?
- Posted by euphoric (admin) Jan 04, 2021
- 684 views
Great! Thank you!