BlitzMax error trying to build/run an example...

BlitzMax Forums/BlitzMax Programming/BlitzMax error trying to build/run an example...

Are you sure it is loaded ?

Try Global image : TImage = LoadImage("screen2.png")

Graphics 800,600


Repeat
if image
DrawImage(image,0,0,0)
endif
Flip
Cls
Until KeyDown(Key_Escape)

End

And see if the image appears - if not, then its not being loaded.