04-13-2023, 05:45 PM
(04-13-2023, 05:02 PM)SMcNeill Wrote: ..good to know.
DO
handle = LOADIMAGE..
'Stuff
LOOP
END
Now with the above here, you're going to have problems. You're loading images repeatedly in the DO LOOP, and you're never freeing them. You, my friend, now have a massive memory leak and all the issues that arises from such!
What happens here?
----------------------
DO
handle= _NEWIMAGE...
handle = LOADIMAGE..
'Stuff
LOOP
END
---------------------------