You must remember that Array's are 0 based so...

 Code:
0  1  2  3  4  5

Is actually 6 entries

The For $OUTPUT takes this into account and starts at 0
You will have to adjust the $Pick to be 1 less than you actually want

Change the Output loop to the following

 Code:
For $OUTPUT = 0 to $Pick
 $Selection = RND($size)
 $RandomLine = $Array[$Selection] 
 ?"The Random Number Generated was " + $Selection 
 ?"The Line Associated with the number is " + $RandomLine
Next


Edited by Gargoyle (2008-12-13 09:12 AM)
Edit Reason: forgot code tags
_________________________
Today is the tomorrow you worried about yesterday.