el:confirm [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

el:confirm

## Confirm

### Format

confirm ( message )
confirm ( message , default)

### Description

This function displays a message box with “Yes” and “No” buttons. A true value will be returned when the user selects “Yes” and false will be returned when “No” is selected. You may set the default button by setting a second argument to true or false.

### Example

    ans = confirm("Do you wish to continue")
    if ans then
       print "continue on"
    else
       print "end everything"
       end
    end if

draws

### See Also

Alert, Confirm, Input, Key, Prompt

### History

0.9.9.42 - added statement

el/confirm.txt · Last modified: 2014/01/11 23:26 (external edit)