[fpc-pascal] Get empty memory quickly or... an empty file
    Ewald 
    ewald at yellowcouch.org
       
    Fri Sep 13 15:12:35 CEST 2013
    
    
  
Once upon a time, Reinier Olislagers said:
>
> However, I'm sure there must be quicker ways (e.g. less newbie code;
> using OS functions to quickly create empty memor, or alternatively
> create a sparse file and zip the file instead of the stream).
Have you tried FillChar(), FillDWord(), ... I not, have a look at
http://www.freepascal.org/docs-html/rtl/system/fillchar.html
-- 
Ewald
    
    
More information about the fpc-pascal
mailing list