Read from file problem

Dave dave at looktowindward.com
Wed Nov 14 13:47:58 EST 2007


Hi,

I am trying to read text files line by line, but have come across a  
file that doesn't have consistent line endings. The command I use is:

   read from file theXMLFilePathName until cr

When I looked in the file it has some lines ending in cr, some in lf  
and some in crlf.

How can I read up to either of these characters (cr/lf) ?

Thanks a lot
All the Best
Dave



More information about the use-livecode mailing list