Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How get the Number of Lines from a text file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00451983
Message ID:
00452041
Views:
33
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform