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

REBOL 3 Functions: confirm

confirm  question  /with  choices

Confirms a user choice.


question [series!] - Prompt to user



choices [string! block!]

See also:

ask   input   prin  


This function provides a method of prompting the user for a true ("y" or "yes") or false ("n" or "no") response. Alternate responses can be identified with the /with refinement.

confirm "Answer: 14. Y or N? "

confirm/with "Use A or B? " ["A" "B"]

  TOC < Back Next > - WIP Wiki Feedback Admin