To the best of my knowledge:
"old school" Windows (notepad) uses numToChar(13) AKA RETURN and numToChar(10) as the return character. But Macs, Director, and more modern PC program (WordPad.exe), much of the C++/VisBasic things I've seen use just numToChar(13).
So, you can go ahead and drop the numToChar(10) if you want, just use WordPad to open them.
But use both RETURN & numToChar(10) if you're writing for general PC readability (gramma isn't going to know to right-click and open the file with WordPad instead of notepad.
roymeo
At 12:13 AM 6/26/2004, you wrote:
I thought I understood the CR/LF situation vis-a-vis RETURN until today I discovered that RETURN is written out to a text file as chars hex 07 and 06... Where did these come from? What am I missing? I'm using the Ultimate FileIO Xtra to write strings to a file. This is with Dir MX (9) and Win XP.
Any bright light shed on this would be appriciated on this dark night... Or maybe I should just go to bed.
Thanks!
Slava
[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!]
----------- Roy Crisman Macromedia Director Programmer, Lingo Guru, Multimedia Producer Greater Rochester Macromedia User Group (GRMMUG.org) Coordinator 277 N. Goodman St. Rochester, NY 14607-1162 (585)473-3492 home (585)615-2873 cell roymeo(AT)brokenoffcarantenna.com
[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!]
