bobs at twft.com
Thu Oct 14 17:39:05 CDT 2010
Of course I meant numtochar() not chr(). Apparently I still have FoxPro on the brain from years ago.
> Wha??? That just makes no sense at all! A CR should be chr(13) and LF should be chr(10). Period. If in Revolution it is not, then I need to go back and edit a whole lot of scripts!
> On Oct 14, 2010, at 2:23 PM, Peter Brigham MD wrote:
>> Just noticed, in reading the dictionary on "constant" --
>> CR = return = LF = linefeed = numtochar(10)
>> "CRLF" is listed as "Equivalent to a carriage return (ASCII 13, Control-M) followed by a line feed (ASCII 10, Control-J)," implying that "carriage return" = numtochar(13) <> linefeed. Apparently, "carriage return" <> "CR" ... WTF?
>> Practically speaking, I never think about this, and always use cr for delimiting lines and trust to the engine to translate between platforms -- but the definitions and terminology are certainly inconsistent. I'm glad I don't *have* to keep it straight....
>> -- Peter
>> Peter M. Brigham
>> pmbrig at gmail.com
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode