Error control when loading files ..

Blitz3D Forums/Blitz3D Beginners Area/Error control when loading files ..

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.

pic = loadimage("picture.bmp")
If pic = 0
RuntimeError "picture.bmp missing from models folder"
EndIf