Tiemo,
Is the task to compare two CSV files regardless of their line endings? If you 
don’t care what the line endings are, as Brian points out, using “file:” to 
read them will convert all line endings to just LF. Then there is no problem 
comparing, right?
.Jerry

> On Apr 18, 2018, at 6:52 AM, Brian Milby via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> One other consideration is how you are opening the file. Using “file” will
> end up converting to just LF. You will need to use “binfile” to examine the
> line endings native in the file.
> On Wed, Apr 18, 2018 at 8:11 AM dunbarx via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Tiemo.
>> 
>> I guess I do not understand.
>> 
>> put charToNum(the number of chars of line (lineOfInterest + 1) of yourText)
>> into tChar
>> 
>> Then tChar can be compared to the "tChar" of any other line.
>> 
>> Craig

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to