ibec_fs_WriteString
Writes a srtring onto the file stream stream.
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.
back to top of page
<< ibec_fs_Writeln | IBEBlock | ibec_fs_ReadByte >>







