MESSAGE
From Macros Wiki
Jump to navigationJump to search
Command
- MESSAGE <text> [<caption>] [<1/0>]
- Display a message box dialog.
Parameters
- <text>
- A text string, in double quotes, for example "my text" or a string variable, for example a$
- [<caption>]
- Message Box title text. Either use text in double quotes, or a string variable.
Note - this text is required if using the OK and CANCEL option
- [<1/0>]
- 0 for OK button only
- 1 for OK and Cancel buttons
Example
- MESSAGE "draw a contour?"
- MESSAGE "OK to create solid, Cancel to exit macro", "Create Solid", 1
- inum = 35
- MESSAGE "The variable inum = %inum"
- For an example macro see Explode_Shape