YESNO: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Command|syntax=YESNO <prompt> <variable> | {{Command|syntax=YESNO <prompt> <variable> | ||
|description=:Create a yes | |description=:Create a yes / no display box with a message. | ||
|param1=<prompt>|param1_desc=Text or a string variable. | |param1=<prompt>|param1_desc=Text or a string variable. | ||
Revision as of 18:35, 13 August 2010
Command
- YESNO <prompt> <variable>
- Create a yes / no display box with a message.
Parameters
- <prompt>
- Text or a string variable.
- <variable>
- Set a variable for later use in the macro, value is 1 for "yes", 0 for "no".
Example
- YESNO r$, YN1
- For an example macro see Backup_Current_Part