YESNO: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 9: Line 9:


===Example===
===Example===
:YESNO
:YESNO r$, YN1


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

Revision as of 17:56, 13 August 2010

Up

Command

YESNO <prompt> <variable>


Create a yes or 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