meta data for this page
  •  

ibec_fs_SetSize

This function now supports files larger than 2 GB.

Description

No additional description…

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