>>
>>lcTxt = filetostr("myprecious")
>>local laErg[255, 3]
>>for lnChar = 1 to 255
>> laErg[m.lnChar,1] = lnChar
>> laErg[m.lnChar,2] = chr(lnChar)
>> laErg[m.lnChar,3] = occurs(m.lcTxt, chr(lnChar))
>>next
pre coffee code, occurs(lcSearch, lcSearched)... sorry
>>>What I'm finding is that every line ends with CHR(13) CHR(10)
>>
>>that is CRLF ;-)
>>
>>.....which is what I wanted to do and the line this guy claims has some other thing at the end of it doesn't look any different to me than all the other lines. I really think he just might of made a mistake but I really don't wanna tell him that unless I'm like 1000% sure I've checked the file myself properly..hahahaha
>>
>>old unix used only LF, DOS operates just on CR without problem, CRLF supposed to work across.
>
>Ok. I don't know what platform he's using to import the file - however finding that ALL my lines end with the CRLF aka chr(13) chr(10) , and there is nothing anywhere else in the file where the ASCII value is less than 32, sorta tells me that he shouldn't be having an issue with just a few of the lines - at least not because of an embedded carriage return anyway.
>
Sounds like he is in over his head.
give him 2 more files, one with only CR, one with only LF at line end. Chrtran to the rescue ;-)