Phantom Documentation

[Help Home] [Phantom Home]
ReadFile

bool ReadFile(file,string)

Return Type: bool
Parameters: file Handle, string Output

Description:
ReadFile reads a line of text from the file indicated by Handle. The file must have been opened using the OpenFile command with the 'r' flag prior to writing to the file. The function returns true if the write was successful, false otherwise. The line read is placed in the Output parameter. Note that this will only work on text files.

See OpenFile for an example.


Copyright 2000-2011 Phantom Automated Solutions