huh. but, isn't that same as
code:
DO
$ = ReadLine($handle)
until not ($ or LEFT($,4)= "disk")

if yes, then it does not work.
but how goes:
code:
DO
$ = ReadLine($handle)
until LEFT($,4)="disk" or not $

_________________________
!

download KiXnet