Function MessageBox

Top 

Declaration:

int MessageBox(char format[], ... );

Description

The MessageBox function displays data in accordance with the format line in the form of a dialog message.

Note. Your arguments passed to this function shall match the format line. In case of mismatch, the <%CM%> program may crash, because it cannot check the correspondence between the format string and parameters passed.

Returned value

1, if the Close button is pressed;

0, if the Esc key is pressed.

Also, see:

Formatted Input-Output Functions

Alphabetical List of Script Language Built-in Functions and Variables