yes_no
Entity: predicate

Usage:
yes_no( Title, Text, Icon)

Invokes an application modal dialog box with buttons "Yes" and "No"

Title | the title of the dialog box window
Text | the text inside the window (usually the question to be answered)
Icon | one of the predefined message icons

Fails if "No" is pressed succeeds otherwise.

Example:

?-
yes_no("yes_no(..) test", "Succeed?",?),
write("Succeeded!"), nl.

See also:

message