Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCII from Notepad
Message
De
22/01/2003 11:59:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
22/01/2003 11:56:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00744312
Message ID:
00744317
Vues:
14
>Hi. VFP7 & 8beta user. How would I read ASCII text from Notepad (ie: text file) into a Fox dbf or array?
>
>Thanks, Randy

You can copy it to a variable with FileToStr().

You can convert that to an array (one element per line) with alines().

For manipulation of very large texts (above the array limit, or above a few MB), you should learn to use LLFF.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform