REBOL Programming/ask

< REBOL Programming

USAGE:

ASK question /hide 

DESCRIPTION:

Ask the user for input.

ASK is a function value.

ARGUMENTS

REFINEMENTS

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.