On 12 Dec 08, at 22:12, leledumbo wrote:
.
.
> OK, for a real world apps that's true. I guess I still have to write those
> things myself. Btw, is there any difference between code in an
> initialization section of a unit with the one at the beginning of a program?
The only difference is that
@Michael:
Just as Tomas say, FlushFunc gets called when the output goes to console
(AFAIK) regardless the SetTextBuf settings.
@Tomas:
OK, for a real world apps that's true. I guess I still have to write those
things myself. Btw, is there any difference between code in an
initialization section o
On Fri, December 12, 2008 14:35, Michael Van Canneyt wrote:
> 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
>>
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?
F