Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Vardan Aroustamian — — source: Informix-list mailing list archive (1991-1998)
Sigurd Friisvold <sfr@admin.tollpost.no> wrote:
> 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!
Hi Sigurd
Try
CALL file.write( "1111\\r\\n2222\\r\\n33333") RETURNING ok
Hope this helps
--
vardan@sterling.ru
Vardan Yu. Aroustamian
Sterling Group, Moscow, Russia
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.