YESNO

From Macros Wiki
Revision as of 19:43, 20 August 2010 by ConnerO (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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