Xbasic
FILE.TO_BLOB Function
Syntax
Data as B = FILE.TO_BLOB(Filename as C)
Arguments
- FilenameCharacter
The full path specification of the file.
Returns
- DataBinary
Returns the binary data from the file.
Description
Reads a file to an in-memory blob variable.
Discussion
The FILE.TO_BLOB() method reads a binary file from disk into a blob variable.
Example
String = FILE.to_blob("c:\image.bmp")
See Also