Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I =fgets(lnHandle,9999) ?
Message
De
29/09/1998 00:22:59
 
 
À
28/09/1998 21:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00141670
Message ID:
00141767
Vues:
23
>>cDataVal = FGETS(nFH,1000)
>>
>>The variable cDataVal would contain the string up to the first CR or 1000 bytes, whichever comes first. Just keep looping through the file until done.
>
>Alright, something's fishy here. Maybe you can tell me what went wrong.
>
>I originally put in my routine "=fgets(lnHandle,999)" and it would crash. I kept changing the #. When the # was less that 256 it worked fine, but if I put in a # greater that 256 it crashed. Now I try it one more time to get the error message and it works fine.


Isn't that the way it always is? I've said to myself many times, "Self, that just isn't working right. It must be a bug!" And then I go to show it to someone else and it works perfectly. Such is life.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform