Astrology and Art
dave at looktowindward.com
Fri Jun 29 11:06:16 EDT 2007
I have a file that has "cr" (0x0D) terminators on each line.
If I have the line in "myLine" and do this:
repeat with myIndex = 1 to the length of myLine
if char myIndex of myLine = cr then
--do something at end of line
It never finds the cr. I looked in the file and conformed that the
lines end in a single cr character.
When I did a charToNum() on cr is returns 0x0A which is a lf!!!!!
What gives? How can I find the real cr is a variable?
All the Best
More information about the Use-livecode