YESNO

From Macros Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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