Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving to next line of an ascii file opened with FOPEN()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00497814
Message ID:
00497823
Vues:
10
>Hello all,
>Can someone help me with how to move to the next line of an ascii file opened with FOPEN().
>i have this code to store the entire row/line
>gcString = FGETS(gnFileHandle, gnEnd) && Store content
>but i am unable to read the next.
>
>I an actually trying to create a table from a text file using data at certain positions of the text file.
>Any help?

Sammy,

What value are you using for gnEnd? If there are no carriage return characters in the file, then FGETS() will read the number of bytes specified by gnEnd or the entire file - whichever comes first.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform