COBOL Manual for TNS/E Programs (H06.03+)
Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS/E Programs—520347-003
22-10
HP Tandem Extensions for Codewright (TEC)
Customizing the TEDIT Editor
Some ways in which you can customize the TEDIT editor are:
•
You can write macros that perform complex tasks with few keystrokes.
•
With the RECONFIGURE KEYS command, you can redefine the default keys.
•
With the RECONFIGURE OPTIONS command, you can do such things as reset
your tab stops and define delimiter pairs.
You can define up to 10 delimiter pairs, such as left and right parentheses and the
commonly used HP COBOL keyword pairs, such as IF and END-IF. If you establish
IF and END-IF as the delimiters of a balanced expression, you can use FORWARD
BALANCE-EXPRESSION to move the cursor from an IF to its corresponding END-
IF.
•
You can save your redefined option set in your TEDIT user profile and recall it
whenever you want it with the TEDIT command USEPROFILE.
•
You can define different option sets for distinct programming tasks.
HP Tandem Extensions for Codewright (TEC)
Starbase Corporation’s Codewright is a smart language editor that allows you to edit
source code and issue compiler, version-control, and operating-system commands.
The base editor facilitates source code creation with keyword chromacoding, search
and replace mechanisms, function execution, undo and redo commands, and general
editing capabilities. Codewright blends a command shell with its own tools, and you
can easily extend it to work with other third-party tools or dynamic link libraries that you
build with your own compiler language. HP has taken advantage of this extensibility to
create HP Tandem Extensions for Codewright (TEC).
The main features of TEC are:
•
Language-Sensitive Programming Support
•
Dictionaries and Templates
•
Chromacoding
•
Project Definition
•
Viewing Source Files
•
Comment Headers and Parameter Documentation
More information on TEC is available through its online help.










