FileType() - checking a file/resource exists
Monkey Forums/Monkey Programming/FileType() - checking a file/resource exists
| ||
Hi, Is there any way to check if a file/resource/whatever exists before trying to load it? (at this point assuming the file type is unknown) Basically the equivalent of the old FileType() function. Feel I must be missing something obvious... Thanks! |
| ||
Well, Monkey - at the moment - has NO FileSystem support like in BlitzBasic/Bmax & co. You can add new commands to the language as I made for CurrentDate/CurrentTime or for HidePointer. Of course you need to know the target platform specific code, but nothing is impossible! Cheers |