Getting a filename to use in error loading

BlitzMax Forums/BlitzMax Beginners Area/Getting a filename to use in error loading

Space Xscape, does this not do what you want?
Graphics 640 , 480
filename:String="max.png"
Local image:TImage = LoadImage(filename)
If image 
	Notify "File " + filename + " found"
Else 
	Notify "File " + filename + " NOT found"