On 22 Jul 2008, at 08:06, Jonas Maebe wrote:
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.
But that won't help you in this case, because settextbuf does not
change the flushing behaviour when writing to the screen. For that,
you have to follow Tomas' advice.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal