Phantom Documentation

[Help Home] [Phantom Home]
WriteFile

bool WriteFile(file,string)

Return Type: bool
Parameters: file Handle, string Text

Description:
WriteFile writes the contents of Text to the file indicated by Handle. The file must have been opened using the OpenFile command with the 'w' or 'a' flag prior to writing to the file. The function returns true if the write was successful, false otherwise.

See OpenFile for an example.



Copyright 2000-2011 Phantom Automated Solutions