Jonas Maebe-2 wrote:
>
> 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.
>
Done, but I still demand it to be in System unit. That way, no additional
unit is needed. Do
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 bu
> Marco van de Voort schreef:
> >> will add 64k to the executable because it's allocated on the stack.
> >
> > Huh?
> >
> > A filebuffer variable must be available always, so it is a global variable.
>
> I thought the file buffer variable must available for the time a file is
> opened and
> ca
Marco van de Voort schreef:
will add 64k to the executable because it's allocated on the stack.
Huh?
A filebuffer variable must be available always, so it is a global variable.
I thought the file buffer variable must available for the time a file is opened and
can be discarded after the fil
> 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..6553
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
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;
...
wi
On Mon, July 21, 2008 07:17, leledumbo wrote:
>
> Is there any way so that Write(Ln) doesn't flush the buffer after each
> call
> (as if it's called to write to a file, I knew it from rtl's file handling
> source), but only when Flush is called? I found some maniac's code that
> does
> it at assemb
>
> Is there any way so that Write(Ln) doesn't flush the buffer after each call
> (as if it's called to write to a file, I knew it from rtl's file handling
> source), but only when Flush is called? I found some maniac's code that does
> it at assembler level, but of course it's platform dependant (