meta data for this page
ibec_fs_WriteString
Writes a string onto the file stream stream.
Description
No additional description.
Syntax
function ibec_fs_WriteString(FileHandle : variant; Value : string) : integer;
Use ibec_fs_WriteString to write a string to a file stream opened with ibec_fs_OpenFile function. ibec_fs_WriteString returns number of written characters (bytes).
Example
execute ibeblock as begin fs = ibec_fs_OpenFile('D:\mytext.txt', __fmCreate); try SomeStr = 'Some string value'; ibec_fs_WriteString(fs, SomeStr); finally ibec_fs_CloseFile(fs); end; end
This function now supports files larger than 2 GB.