WriteToFile Method
The WriteToFile method writes the contents of the Value attribute of a LongByteObject object to a file.
This method has the following syntax:
integer = LongByteObject.WriteToFile([filename = varchar(256)])
This method has the following parameter:
filename
Specifies a file name that must be valid for the system on which the application is running. The default file name is the current value of the LongByteObject object's FileHandle attribute.
After the WriteToFile method completes, OpenROAD updates the FileHandle attribute of the LongByteObject object to reflect the name of the file.
This method returns ER_OK if successful. If the file name is invalid or if any other errors occur, the method returns a non-zero value and generates an error message. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes.
Last modified date: 12/20/2023