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
b = b + ...