Section 5. Using dialogs
1
Add a variable dark (upper green box), and ASSIGN it to False. Give it a check box interface.
2
Add dark to the list of editable items in DIALOG. Put it last if you want it at the bottom of the
edit items in the dialog.
3
Add some code (lower green box) to perform a dark adaption if dark has been set to True. (We're
ignoring the details of what exactly is in the Dark Adapt GROUP in this example).
Figure 5-4. Adding a dark adapt option to the opening dialog.
For more on using DIALOG, see DIALOG on page7-15.
5-4 Using LI-6800 Background Programs