Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to change a txt file to a table
Message
De
28/02/2001 16:44:08
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00480723
Message ID:
00480741
Vues:
8
>I can't do a FGETS() because it will only hold 254 characters.

Not exactly; 254 is the max if you don't sepcify a "max" up to the Carriage Return.

If all lines in the file are not more than, say, 300 bytes, then you can:

m.cBuff = FGETS( m.nHandle, 300 )

which will retrieve 1 line at a time, up to the next CR, as long as the line is not greater than 300 bytes (otherwise, you only get the next 300 bytes).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform