file object
bool reached_end
This is set to true if the end of the file is reached, and is false if not at the end, or if there is no file associated with the object. This property cannot be modified from the script.
double position
This shows the current position of the cursor. If opened in binary mode, this is given in bytes. If opened in text mode, it is the number of characters. If no file is associated with the object or if the position cannot be retrieved, this is set to -1. This property cannot be modified from the script.
double size
This is the size of the file. If opened in binary mode, this is given in bytes. If opened in text mode, it is the number of characters. This is set to -1 if the size cannot be retrieved or if the file object is empty. This property cannot be modified from the script.
bool active
This is set to true when a file is associated with the object, and to false otherwise. This property cannot be modified from the script.