MESSAGE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|param1=<text>|param1_desc={{text}} | |param1=<text>|param1_desc={{text}} | ||
|param2<nowiki> | |param2=<nowiki>[<caption>]</nowiki>|param2_desc={{caption}} | ||
|param3=[<1/0>]|param3_desc=0 for OK button only | |param3=[<1/0>]|param3_desc=0 for OK button only | ||
:1 for OK and Cancel buttons | :1 for OK and Cancel buttons |
Revision as of 17:32, 12 August 2010
Command
- MESSAGE <text> [<caption>] [<1/0>]
- Store all the variables used in a defined .txt file.
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?" 1
- For an example macro see Explode_Shape