Opens a file and returns its handle. This may be used by the command Echo. Use the function CloseFile to close the file.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
Yes |
|
File path |
2 |
string |
Yes |
|
File open mode |
Path of file to open.
Open mode. May be 'w' or 'wa'. 'w' opens file for writing and clears the file if it already exists. 'wa' opens the file for append, that is it will append any output to the file if that file already exists.
Return type: real
|