[fpc-pascal] Options for enabling output buffering

Michael Van Canneyt michael at freepascal.org
Fri Dec 12 14:35:41 CET 2008



On Fri, 12 Dec 2008, leledumbo wrote:

> 
> I'm tired of writing:
> 
> uses
>   Dos;
> ...
> begin
>   TextRec(Output).FlushFunc:=nil;
> ...
> 
> all the time in every programming contest I follow. Wouldn't it be better to
> provide an option or a define or whatever to enable output buffering?

Flushfunc has nothing to do with output buffering ? 
SetTextBuf controls the buffering.

Michael.



More information about the fpc-pascal mailing list