Answer

answer

Reports the contents of the last answer typed in the question dialog box. Using question and answer, you can pick up the words typed at the keyboard to create an interactive program. If answer reports the empty list ([]), it means that the user has clicked on Cancel; if answer reports the empty word ("), it means that the user has entered nothing and clicked OK.

Example:

question [How old are you?]

Type the answer in the dialog box.

show answer

I'm 10 	Your answer.