Displays a dialog box that includes a logo, a message and the "Yes" and "No" buttons. The user must validate one of the buttons ("Yes" or "No") to close the window.
If the answer is "Yes", WdString contains "O" and WdInt contains 1.
If the answer is "No", WdString contains "N" and WdInt contains 0.
// In C
CALLWD("YesNo,Do you want to exit from the program");
if WDInt=1 Exit_Program();
// In Pascal
CALLWD('YesNo,Do you want to exit from the program');
if WdInt=1 then Exit_Program;
// In VB
call CALLWD("YesNo,Do you want to exit from the program")
if WdInt=1 then gosub Exit_Program
<Message>: Character string
Message to display (up to 200 characters).
To display the message on several lines, use the following syntax:
Example in C:
Example in Pascal:
CALLWD('YesNo, '+Chr(10)+' ');
Example in VB:
call CALLWD("YesNo, "+CHR(10)+"")