msgbox( data )
Parameters
| Type | Description | |
| data | expression | value to display |
_result
Set according to the user's action
| Value | Description |
| 0 | Cancel button was clicked |
| 1 | OK button was clicked |
| 2 | Ignore button was clicked |
| -1 | No window displayed, sent to print log |
Descriptions
Displays the root value of data in a popup window unless popup windows have been disabled. The game is halted while the popup window is open. If msgbox popup windows are disabled, the root value of data is sent to the print log. This command is useful primarily for debugging robots.
See Also