Difference between revisions of "YESNO"

From Macros Wiki
Jump to: navigation, search
 
Line 12: Line 12:
 
:YESNO "Do You Want To continue ?", YN2
 
:YESNO "Do You Want To continue ?", YN2
  
:For an example macro see [[Backup_Current_Part]]
+
:For an example macro see [[Backup_Current_Part]] and [[Calc_Geo_Extents]]
 
[[Category:Miscellaneous]]
 
[[Category:Miscellaneous]]

Latest revision as of 19:43, 20 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 and Calc_Geo_Extents