< Rebol Programming
USAGE:
ASK question /hide
DESCRIPTION:
Ask the user for input.
ASK is a function value.
ARGUMENTS
- question -- Prompt to user (Type: series)
REFINEMENTS
- /hide -- mask input with *
SOURCE CODE
ask: func [
"Ask the user for input."
question [series!] "Prompt to user"
/hide "mask input with *"
][
prin question
trim either hide [input/hide] [input]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.