MESSAGE

From Macros Wiki
Revision as of 17:43, 12 January 2011 by Mikeo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Up

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>]
Text to be displayed. Either use text in double quotes, or a string variable.
[<1/0>]
0 for OK button only
1 for OK and Cancel buttons

Example

MESSAGE "draw a contour?", 1


inum = 35
MESSAGE "The variable inum = %inum"


For an example macro see Explode_Shape