DoMessageBoxYesNo

Prototype

Matrix DoMessageBoxYesNo( String sTitle, String sMessage )

Return Value

If the user clicks Yes, the return value is 1. Otherwise, the return value is 0.

Parameters

String sTitle
The title of the message box.

String sMessage
The message to be displayed by the message box.

Remarks

This module displays a message box containing a Yes button and a No button. The message box displays the Windows question icon. The module calls the Windows function MessageBox to display the message box.

Example
title = "Continue?";
message = "Do you want to continue?";
yes = DoMessageBoxYesNo( title, message );
if yes then
    print "Yes";
else
    print "No";