Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fgets limits?
Message
From
12/04/2001 05:18:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Fgets limits?
Miscellaneous
Thread ID:
00494767
Message ID:
00494767
Views:
73
Hi,

I discovered the following today: (VFP 6)
I use the function fgets(nfile, nbytes). There is a limit: nbytes>16777184 will genearate an error (function argument type or value etc). When I run the app outside the development environment, the error will already occur when nbytes>8192.
In my app I used nbytes=10000, which worked fine in VFP5.
Is there a setting I should use to prevent the error, or is this unchangeable behaviour and must I live with lines not being longer than 8192 bytes.

Thanks,

Auke
Next
Reply
Map
View

Click here to load this message in the networking platform