Constant command

Bob Sneidar bobs at
Thu Oct 14 18:15:55 EDT 2010

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)
> but
> "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
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list