Open Data Member Function

Opens a text file.

Prototype

int32 Open( string p_sAbsPathToFile, int32 p_bOpenForReading )

Parameters

Parameter Type Parameter Name Documentation
stringp_sAbsPathToFileAbsolute path of the ASCII file to open.
int32p_bOpenForReadingControls whether the file is in read mode or write mode. Pass 'true' for read mode, or 'false' for write mode. Creates the file when you open for writing a file that does not exist.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.