On 1/17/13 12:28 PM, Robert Sneidar wrote:
It's my understanding that cr is just a cr regardless of platform. I may have it backwards.
Yup, backwards. :) "Cr" and "return" are synonyms and produce the same thing, which is ascii 11 (linefeed, the unix convention). There is no ascii 13 (carriage return) or Windows endings (CRLF) unless you put binary data into the stack or script it using numToChar(13).
When importing text files, LiveCode translates all OS-native line endings to ascii 11. When exporting to a text file, it translates all linefeeds back to the native line endings.
Importing/exporting as binary doesn't translate line endings. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode