Read from file problem

Dave dave at looktowindward.com
Thu Nov 15 09:17:48 EST 2007


On 15 Nov 2007, at 12:37, Trevor DeVore wrote:

> On Nov 15, 2007, at 7:20 AM, Dave wrote:
>
>> I tied all this, unfortunately it doesn't work, cos (on Mac  
>> anyway) cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf.
>>
>> Try this in the message box:
>>
>> put chartoNum(lf) && chartoNum(cr)
>
> Just use numToChar(10) for linefeed.

Not much help if RunRev is mapping cr and lf to 0x0A, I want to check  
if a char is cr, but I never see a cr cos RunRev swipes em!

All the Best
Dave




More information about the use-livecode mailing list