All images not accounted for...

BlitzPlus Forums/BlitzPlus Programming/All images not accounted for...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I don't check the beginning vidmem before the graphics mode is set. As a function, how would I be able to state the image handle in the function? This one's had me puzzled...

>Edit - I think I've managed it - just was expecting it to try to free an image called "handle" if I used this, rather than "image1".
If KeyDown(28)=1 Then imagefree(image1)
calls up...
Function imagefree(handle)
FreeImage handle : handle=0
End Function

Thanks. This should help me a lot!