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".
Thanks. This should help me a lot!
>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!