FIO_WriteWholeFile
%FIO_WriteWholeFile function
Function | The function reads a specified file and inserts its contents into a variable of Text type. | ||||||
Declaration | BOOL %FIO_WriteWholeFile(
TEXT in dataText
TEXT in fileName
[,TEXT in encoding = "@APP_DEFAULT@"] ) | ||||||
Parameters |
| ||||||
Return value |
The return value is True, if the action was successful. Otherwise, it is False. | ||||||
Note | The function uses binary mode to write into the file. | ||||||
Example | BEGIN
BOOL _out
_out := %FIO_WriteWholeFile("Zapisovany text","c:\Info.txt")
END |
Related pages: