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.

Arguments:

question [series!] - Prompt to user

Refinements:

/with

choices [string! block!]

See also:

ask   input   prin  

Description

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 > REBOL.com - WIP Wiki Feedback Admin