Section 7. Installation
197
Figure 67: Custom menu example — control-LED pick list
Figure 68: Custom menu example — control-LED Boolean pick list
Note See figures Custom Menu Example — Home Screen (p. 195) through Custom
Menu Example — Control LED Boolean Pick List (p. 197) in reference to the
following CRBasic example Custom Menus
(p. 197).
CRBasicExample38. CustomMenus
'Custom Menu Example
'Declarations supporting View Data menu item
Public RefTemp 'Reference Temp Variable
Public TCTemp(2) 'Thermocouple Temp Array
'Delarations supporting blank line menu item
Const Escape = "Hit Esc" 'Word indicates action to exit dead end
'Declarations supporting Enter Notes menu item
Public SelectNote As String * 20 'Hold predefined pick list note
Const Cal_Done = "Cal Done" 'Word stored when Cal_Don selected
Const Offst_Chgd = "Offset Changed" 'Word stored when Offst_Chgd selected
Const Blank = "" 'Word stored when blank selected
Public EnterNote As String * 30 'Variable to hold free entry note
Public CycleNotes As String * 20 'Variable to hold notes control word
Const Accept = "Accept" 'Notes control word
Const Clear = "Clear" 'Notes control word
'Declarations supporting Control menu item
Const On = true 'Assign "On" as Boolean True