FileHandle - Interface to file access
EXPRESSION VOID ListFile ( string path ) {
VARIABLES
FileHandle file;
string result;
PROCESS
if ( file.Exists(path) ) {
file.Open(path,PIACC::PI_Read);
while ( result = file.GetLine )
Message(result);
}
}
Attributes
Functions
- AlignText - Align text
- ChangeAccess - Change file attributes
- Close - Close File handle
- Copy - Copy
- CurrentLine - Get current line number
- Delete - Delete a File
- Exists - File Exist
- FOut - Write line to file handle with indent
- FileHandle - Constructor
- GetLine - Get a line of Text
- Indent - Indent for line output
- IndentSize - Change indent size
- IsOpened - Checks whether the file handle is opened
- LinePosition - Positions the write cursor within the current line
- MakeDir - Create new directory
- Open - Open file handle
- OpenCreatePath - Open file handle
- Out - Write line to file handle
- Read - Read file
- Rename - Rename a File
- Unindent - Unindent line output
- Write - Write file
- ~FileHandle - Destructor