Hi,

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
end if
end repeat

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
Dave

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to