ibec_fs_SetSize
This function now supports files larger than 2 GB.
Syntax
function ibec_fs_SetSize(FileHandle : variant, NewSize : Int64);
Example
execute IBEBlock
as
begin
FileName = 'd:\myfile.bin';
FH = ibec_fs_OpenFile(FileName, __fmOpenRead);
if (not FH is NULL) then
ibec_fs_SetSize(FH, 8096);
...
ibec_fs_CloseFile(FH);
end
back to top of page
<< ibec_fs_Size | IBEBlock | ibec_fs_Writeln >>







