Add a radio button for pollutant selection. The TEXT statement specifies text for the
dialog box that appears on line 8 (#8) and begins in column 1 (@1). The RADIOBOX
statement specifies that a radio button will appear in the dialog box. DEFAULT=
specifies that the first radio button (Pollutant A) will be selected by default. The
RBUTTON statements specify the mutually exclusive choices for the radio buttons:
Pollutant A or Pollutant B. SUBSTITUTE= gives the value that is substituted for the %2
in the preceding DIALOG statement if that radio button is selected.
text #8 @1 'Choose a contaminant:';
radiobox default=1;
rbutton #10 @5 'Pollutant ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.