>>Has anyone found this problem with FGETS (and possibly a work-around). To get FGETS to read more than 254 characters, you have to supply a second parameter of the number of bytes to use. If I set it to 257 or greater I get a Foxpro exception error C0000005. Any help would be much appreciated.
>
>FWIW, I rarely use FGETS and the other LLIO functions. I use FILETOSTR() and ALINES().
Right Curtis,
But still there are developers using VFP5 and VFP6 like me :) OTOH alines() has its limits.
Cetin