Re: NewEra: what's the code for linebreak
Posted in 1996
In article <32A70AB4.36F2@admin.tollpost.no>, Sigurd Friisvold <sfr@admin.tollpost.no> writes: > So long I have used the "file.writeLine()" to write lines to file. That > works ok, but it's unnecessary writing 3 or 4 lines of "writeLine()" > when you could use only one "file.write()". I tried the line below, but > it didn't break the line. Can someone help me with this? > > CALL file.write( "1111\\n2222\\n33333") RETURNING ok > > > Cheers, Sigurd! > -------------------------------------------------------------------------- > | | | |/ Sigurd Friisvold Tollpost-Globe AS > | | |/| EDB-konsulent P.b. 6441 Etterstad > | |/| | tlf: 22 32 90 63 0605 OSLO > |/| | | fax: 22 32 90 04 NORWAY > /| | | | mail: sfr@hk.tollpost.no Sigurd, I would stick with the writeLine if you can because it will write the terminator appropriate to the platform that you are on i.e. \\n for Unix and \\r\\n for MS oses ---------------------------------------------------------------------- David Paulo, InForm Group Ltd.,PO Box 1444, Wellington, New Zealand. Ph: +64 4 472 0996 Fax: +64 4 473 2407 Email: david@inform.co.nz = What would you do if you knew that you could not fail = ----------------------------------------------------------------------