Phantom Documentation

[Help Home] [Phantom Home]
GetStatus

string file.GetStatus()

Return Type: string
Parameters: none

Description:
GetStatus returns a string representing the status of the file. The status string can consist of the following fields:

{OK} - The file is in a 'good' state. There are no errors
{ERROR} - The file has experienced an error
{OPEN} - The file is open for reading or writing
{CLOSED} - The file is closed and cannot be written to or read from
{READ} - The file is open for reading
{WRITE} - The file is open for writing
{EOF} - The file is open for reading and is at the end of the file


For an example, see file.




Copyright 2000-2011 Phantom Automated Solutions