Class representing open file (returned by OpenFile function).
Class Name
FILE
Attributes
| Name | Type | Description |
|---|---|---|
| eof | boolean | End of file indicator |
| name | string | File name |
Methods
| Name | Parameters | Return value | Description |
|---|---|---|---|
| close | none | none | Close file |
| read | int32 | string | Read given number of bytes from file and return them as string |
| readLine | none | string | Read one line of text from file (returned line will not contain new line character) |
| write | string | none | Write given string to file |
| writeLine | string | none | Write given string to file and append new line character |