It is always worth checking the result of any load (LoadImage(), LoadMesh() etc) command. Do it like this:
alienimagename$ = "myImage.bmp" alien = LoadImage(alienimagename$) If alien = 0 then RuntimeError "Couldn't load image: "+alienimagenameIt will help you in the long run and will make users less annoyed. :)