>< snip >>>
>>>First of all, the difference is significant, because using EOF() unstead of FEOF() creates endless loop...
>>
>>Yes, of course. But shouldn't it produce an error message when trying to access after foef()?
>>
>
>As you know VFP LLFF don't generate errors but return codes indicating errors and set error code that can be return by FERROR() function. In this case FERROR() returns 31.
... or, in this case, as I am supposed to know. I suppose I usually just checked for feof(), or for negative return values, so I never investigated the error messages thoroughly.
Thanks for the clarification.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)