You're looking for a single char, use Get, if you want more than one, or you want the user to press enter, use Gets.

If you want to display the result of the Get, simply echo the result back.
 Code:
$Images = 'image1', 'image2', 'image3', 'image4'

For $I = 0 to UBound($Images)
  $I + 1                     ; put the menu choice on the line (1-based)
  '. ' $Images[$I] '.gho' ?  ; put the corresponding file name, extension on the line
Next
'What image to restore(1-' UBound($Images) + 1 ')? ' ; prompt for input
Get $Answer                  ; get answer
$Answer ?                    ; show answer, move to next line

"?" is a synonym for @CRLF - a carriage-return + line-feed. Use it only when you want to move to the next line. The most logical place is at the END of a line. Eliminating it continues printing on the same line.

Glenn


Edited by Glenn Barnas (2008-03-31 06:14 PM)
Edit Reason: missing quote
_________________________
Actually I am a Rocket Scientist! \:D