Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How get the Number of Lines from a text file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00451983
Message ID:
00451986
Vues:
37
>
>create cursor Dummy (TxtFld C (250))
>append from TextFile SDF
>nLines = Reccount()
>
Alternatively, there's:
lsMyString = filetostr("foxpro.h")
alines(laMyArray, lsMyString)
?alen(laMyArray)
Beats me which one's faster. I'll leave that as an exercise for the reader. :-)
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform