Appendix A. CRBasic Programming Instructions
VoiceNumber
Returns one or more numbers (1 to 9) terminated by the # or * key.
Syntax
VoiceNumber(TimeOut*IDH_POPUP_VoiceKey_Timeout)
VoicePhrases
Provides a list of phrases for VoiceSpeak().
Syntax
VoicePhrases(PhraseArray, Phrases)
VoiceSetup
Controls the hang-up of the COM310 voice modem.
Syntax
VoiceSetup(HangUpKey, ExitSubKey, ContinueKey, SecsOnLine,
UseTimeout, CallOut)
VoiceSpeak
Defines the voice string that should be spoken by the voice modem.
Syntax
VoiceSpeak("String" + Variable + "String"…, Precision)
A.11 Custom Menus — Instructions
Related Topics:
• Custom Menus — Overview (p. 84, p. 581)
• Data Displays: Custom Menus — Details
(p. 182)
• Custom Menus — Instruction Set
(p. 581)
• Keyboard Display — Overview
(p. 83)
• CRBasic Editor Help for DisplayMenu()
Custom menus are constructed with the following syntax before the BeginProg
instruction.
DisplayMenu("MenuName", AddToSystem)
MenuItem("MenuItemName", Variable)
MenuPick(Item1, Item2, Item3...)
DisplayValue("MenuItemName", tablename.fieldname)
SubMenu(MenuName)
MenuItem("MenuItemName", Variable)
EndSubMenu
EndMenu
BeginProg
[program body]
EndProg
DisplayLine
Displays a full line of read-only text in a custom menu.
581