CREATE()

 

Syntax:

Then: handle =  CREATE(filename [,mode] )


"handle" is the file handle.
"filename" is the name of the file to create.
"mode" represents the permissions given to the file that gets created.  For convenience, if the number starts with a zero, the rest of the number is treated as octal.  The binary value    corresponds to the 9 bits in the Linux directory listing "rwxrwxrwx".  Note that Windows systems only use the top two bits of the value.  The rest are ignored.

NOTE: For compatibility purposes with Unix systems, you may also specify the name of this command as CREAT e.g. CREAT(filename).

 

Version Ref: 4.5 (not included in filePro Lite)

Version Ref: 5.7.04 "mode" parameter was added

  5.0.5 CREAT() added as alternative to CREATE()

Description:

Creates a new file, and opens it.