FILEMODE Data Type

Describes the file mode for a file. The file mode is a required parameter for the FileOpen function. 4Test defines this enumerated data type as follows:
[-] type FILEMODE is enum
	[ ] FM_READ
	[ ] FM_WRITE
	[ ] FM_UPDATE
	[ ] FM_APPEND
Each field is defined as follows:
FM_READ Opens the file for reading. Silk Test Classic raises the exception E_FILE if the file does not exist.
FM_WRITE Opens the file for writing. If the file does not exist, it is created. If the file exists, it is truncated to zero (0) bytes.
FM_UPDATE Similar to FM_WRITE, except that it does not truncate the file. By default, it denies write access to other users. The file pointer is positioned at the beginning of the file.
FM_APPEND Opens the file for appending. If the file does not exist, it is created. If the file exists, the file pointer is positioned at the last line of the file. By default, it does not deny write access to other users.