| The BYTE data type as class / BYTE data type methods | |
Reads a file into a BYTE locator.
This method reads a content from the specified file into the BYTE locator.
The bytes are loaded as is, without any conversion.
If the file is not found or if it cannot be read, the error -8087 is raised.
MAIN
DEFINE b BYTE
LOCATE b IN MEMORY
CALL b.readFile("mydata")
END MAIN