Language Reference Guide : System Classes : StringObject Class : FileHandle Attribute
 
Share this page          
FileHandle Attribute
Data Type: varchar(256)
4GL Access: RW
The FileHandle attribute identifies an external text file from which OpenROAD loads the contents into the StringObject. If you set this attribute to an empty or null string, OpenROAD clears the string object. If you set this attribute to an invalid file name, 4GL generates an error message and clears the string object.
On all platforms, when the string is loaded into the StringObject, all MS-DOS newline (CR-LF) characters in the file are loaded as C-style newline (LF) characters. When reading files with a Byte Order Mark (BOM), they are not included in the StringObject string buffer.
For more information about the relationship between FileHandles and database transactions, see the Programming Guide.