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. :-)