YESNO: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 10: Line 10:
===Example===
===Example===
:YESNO r$, YN1
:YESNO r$, YN1
:YESNO "Do You Want To continue ?", YN2


:For an example macro see [[Backup_Current_Part]]
:For an example macro see [[Backup_Current_Part]]
[[Category:Miscellaneous]]
[[Category:Miscellaneous]]

Revision as of 20:39, 18 August 2010

Up

Command

YESNO <prompt> <variable>


Create a Yes/No dialog box.

Parameters

<prompt>
Text for the prompt on the dialog.
<variable>
Variable to set to the response. 1 for "yes", 0 for "no".

Example

YESNO r$, YN1
YESNO "Do You Want To continue ?", YN2
For an example macro see Backup_Current_Part