>>Both the functions are failing .. there is no pattern at all .. I can take the same string and parse it 10 times .. sometimes it fails on the first time sometimes the last .. this is true for both functions .. I've tried replacing the delimiter (originally chr(1)) with spaces and tabs .. but no luck ..
>>
>>It's easy enough to write my own versions but it would be really nice to find out why they are failing.
>
>How long are the strings in general? More than 1K, less than 1K etc. You've mentioned below 8K, ever that long?
>
>>As to the fgets function .. I sometimes read in really long strings per line (1000 + characters ) .. I think the new limit is 8192 .. or some such eg:
>>
>>Old version .. this no longer works
>>myStr=fgets(m.ip,10000)
>>
>>new version .. this works
>>myStr=fgets(m.ip,8192)
>
>Sounds as if they've capped the length at 8K. Have you tried 10 * 1024?
It is now capped at 8192, and I think the raw file size at 16MB from some posts a couple of months back, but don't quote me on the latter. I've proved out the 8K limit.