REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: ask

ask  question  /hide

Ask the user for input.


question [series!] - Prompt to user


/hide - mask input with *

See also:

confirm   input   prin   print  


Provides a common prompting function that is the same as a prin followed by an input. The resulting input will have spaces trimmed from its head and tail. The /hide refinement hides input with "*" characters. The function returns a string!.

Example, where the user enters Luke as input:

ask "Your name, please? "
Your name, please? Luke
== "Luke"

  TOC < Back Next > - WIP Wiki Feedback Admin