global.confirm

bool confirm (String message, bool noAsDefault, String title)

Parameters

message The text to display
noAsDefault Set to true to set the No button as the default button
title The title of the alert; ignored on the Macintosh

Description

Displays an alert box with Yes and No buttons; returns true for Yes