BYTE.writeFile
Writes the containt of a BYTE
to a
file.
Syntax
writeFile(
path STRING )
- path is the file to be written to.
Usage
This method writes the containt of the current BYTE
locator to
the specified file.
The bytes are written as is, without any conversion.
If the file cannot be written, the error -8087 is raised.
Example
MAIN
DEFINE b BYTE
DATABASE mydb
LOCATE b IN MEMORY
SELECT col_byte INTO b FROM tab1
CALL b.writeFile("mydata")
END MAIN