On 22 Jul 2008, at 06:29, leledumbo wrote:

Peter Vreman wrote:

http://www.freepascal.org/docs-html/rtl/system/settextbuf.html
http://www.freepascal.org/docs-html/rtl/system/settextbuf.html

Oh, yeah! I forgot to mention this. But declaring the buffer will eat spaces
,for instance:
...
var
 Buf: array [0..65535] of Byte;
...
will add 64k to the executable because it's allocated on the stack.

You can also allocate it on the heap.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to