darekM at emadar.com
Wed Sep 15 10:26:39 CEST 2004
> On Tue, 14 Sep 2004, Darek Mazur wrote:
> > HI
> > I need that WRITELN make the same end of line in Linux and Win32,
> > I found sLineBreak, but for some OS it is var, for some const,
> > There is second identifier LineEnding (mostly const)
> > I think, tha one should be const, and second var, and when somebody need
> > behavour of WRITELN that he can do it.
> The purpose of this constant is not to be able to set the lineending, it
> gives the lineending which is the default on the current platform.
I know, but why are two identifiers
> If you need to have the same lineending on all platforms, you must do
> your writes yourself. I would suggest using TStreams then.
I can do it, but I have to change many lines of code (many thousand lines),
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel