IB Statements/msgbox

From CometWiki

Jump to: navigation, search

MSGBOX statement

Discussion: The MSGBOX statement displays a simple Windows-style message box containing a specified string and an OK button. The program is halted until the user clicks the OK button or presses the Enter key, making this function perform the same as a dummy INPUT statement and a WAIT statement.

Syntax: MSGBOX string-expression


String-expression is the text that will appear in the message box above the OK button.

Example: MSGBOX “This is a sample message box. Click OK or press Enter.”

Personal tools