However, you can still use a loop to read the lines.
code:
$linenumber=0
while $linenumber<123
$rc=readline(1)
$linenumber=$linenumber+1
loop
; do the other stuff

_________________________
There are two types of vessels, submarines and targets.