Constant command
Peter Brigham MD
pmbrig at gmail.com
Thu Oct 14 17:23:18 EDT 2010
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 gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list