File Types

BlitzPlus Forums/BlitzPlus Beginners Area/File Types

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.

Hi,

file_in$ = requestfile$( "Load File", "jpg,bmp,png" )
loadimage file_in$

Because the above also includes 'All Files' I'd only like to load if jpg,bmp,png files.
i.e. is there a way to check the type of a file?

Thanks
Jim