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:
00452041
Vues:
37
Right up to the point where there are 65,000 lines in the text. Then your array bombs. (Yes, I know that isn't the exact number, but it's good enough for practical purposes.)

Barbara
>
>Alternatively, there's:
><pre>
>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. :-)
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform