Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
| 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 Where: 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.” |