Hi Jason -

> I am working with fileio... How do I write a newline character?

The 'standard' newline character depends on your operating system.
Typically, you can use the following for the following OS's:

mac:  newline = numtochar(13)
win:  newline = numtochar(13) & numtochar(10)
unix: newline = numtochar(10)

Then just append this newline to the end of the line you write.
ie: writestring(oFileObj, sString & newline)


Kendall

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to