CAN MAKE FILE Returns a value of one if you can create the specified filename, and will return a zero if the filename cannot be written for any reason.
Syntax
    Return Integer=CAN MAKE FILE(Filename)
Parameters
    Filename
String The filename to check
Returns
This value is an integer number such as 1.
Example Code
    if can make file ("mydog.txt")=1

     print "file can be created - you have write permission"

    else

     print "file cannot be created here - you do not have write permission"

    endif

    wait key

    end
See also
FILE Commands Menu Index