02-24-2023, 06:45 AM
(This post was last modified: 02-24-2023, 06:45 AM by PhilOfPerth.)
(02-24-2023, 06:00 AM)PhilOfPerth Wrote:(02-24-2023, 01:13 AM)bplus Wrote:Code: (Select All)_FreeImage (a) ' free all of the images from memory
Why is the "a" inside ()'s ?
_FreeImage is a Sub / Statement not a Function
If it's not that, DIM a as Long.
Oh! Should be:
_FreeImage tiles(a) ' <<< missing tiles
The "(a)" is the loop variable. It loads the same image into each of the tiles() positions - there's only one image, called test.jpg ( which I attached - I hope!) Edit: I mis-named the image, by including its path. it should just be "test.jpg".
You got it b+! I didn't get what you meant by "missing tiles" - I thought you meant there were tiles missing ( apart from mine

You were both correct, of course - it was trying to free a mis-named image. Thanks both for your help.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) 
Please visit my Website at: http://oldendayskids.blogspot.com/

Please visit my Website at: http://oldendayskids.blogspot.com/