in reply to Improve my lookup script

Print $lookup rather than $i for "out of bounds" condiltion.

Bill