in reply to Array size too big?

JillB:

Looking at your code, I can't see anything that would cause the symptoms you describe. I suspect that you simply filled your scrollback buffer and can't scroll backwards far enough to see the start of the run. You could check that by changing your for loop at the end to something like:

for ($i= 0; $i<200; $i=$i+1)

To show only the first couple hundred lines of the file.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: Array size too big?
by JillB (Novice) on Nov 20, 2017 at 00:10 UTC

    Thanks for this suggestion, roboticus. I even increased the limit to read 4000 records, and they all appeared OK. Took it to 5000 records, and the top 550 records disappeared So it looks like a buffer problem, as suggested below