Re: [fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Felipe Monteiro de Carvalho
On 7/2/06, Antal <[EMAIL PROTECTED]> wrote: So just look out for this in the source-code. Or just use write('Main Loop',#13#10); :^) Isn´t it better to use: write('Main Loop',LineEnding); this way the RTL will substitue LineEnding with the appropriate one for that platform. -- Felipe Monteir

SV: [fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> > Can anyone explain why i get output like this in a small > test program: > > Inside Thread > > Main Loop > > Inside Thread > > Main Loop > > Inside Thread > > Main Loop > That's because the line terminator! > #10#13 or #13#10 acts differently > So, check

[fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Antal
Can anyone explain why i get output like this in a small test program: Inside Thread Main Loop Inside Thread Main Loop Inside Thread Main Loop That's because the line terminator! #10#13 or #13#10 acts differently So, check in the source code whic