Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fgets limits?
Message
De
12/04/2001 05:18:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Fgets limits?
Divers
Thread ID:
00494767
Message ID:
00494767
Vues:
72
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform