EasyManuals Logo
Home>HP>Software>TACL

HP TACL User Manual

HP TACL
235 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
Accessing Terminals
Developing TACL Programs
2–30 107365 Tandem Computers Incorporated
Implementing Menus You can use TACL to define menus. A menu displays a screen and allows users to
press function keys to access information and utilities.
Use the text variable in Figure 2-14, menu, to generate a menu. The user can press
function keys to start applications and utilities. Note that the menu text could be
displayed by individual #OUTPUT calls within the #LOOP function; setting
displayvar to the display text avoids multiple #OUTPUT calls. To run this code,
load the file that contains the code and type menu.
Figure 2-14. Displaying a Menu (Page 1 of 2)
?SECTION menu TEXT
#FRAME
[#PUSH prompt prompt1 prompt2 fkey temp temp2
displayvar done
]
#PUSH #OUTFORMAT == Save the current value
#SET #OUTFORMAT PRETTY
#SET done 0
#SET prompt Please select a function key:~_~_
#SET prompt1 Type file name, followed by <return> :~_~_
#SET prompt2 Type printer name ($S.#AD is the default) :~_~_
[#APPENDV displayvar
"**************************************************
~_
~_
~_
TANDEM APPLICATION MENU
~_
F1 PSMail
F2 TEDIT
F3 TGAL Document Processor
F4 Peruse
F5 TFORM Document Processor
~_
~_
~_
~_
~_
~_
~_
SF1 Exit to TACL
SF16 Log off
~_
Version III 6/92
**************************************************"
]

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP TACL and is the answer not in the manual?

HP TACL Specifications

General IconGeneral
BrandHP
ModelTACL
CategorySoftware
LanguageEnglish

Related product manuals