ENABLE Reference Manual

RUNNING ENABLE
ENABLE Commands--Usage Overview
S5043-014
Starting Value:
Current Value:
Override Value:
Default Value:
Null Null Null Null ON Null
Sample Application Attributes Sample Box Attributes
TITLE TREE PATHCOMFILE RECORD DELETE DATAFILE
ENABLE
Parts-box
DATAFILE parts
DELETE OFF
ENABPATH
Parts-in
PATHCOMFILE enabpath
TREE (01 parts-box)
Object Table
%ADD APPL parts-in, TREE (01 parts-box)
PARTS
(01 PARTS-BOX)
PARTS-IN
• • •• • •
Figure 2-10. Effect of an ADD APPL Command
Once ENABLE has added an object to the object table, you cannot
change the description of the object. You can, however, use the
DELETE command to delete the object; use the SET, RESET, or ADD
command to supply new values for the object; and replace the
object with its new description by using the ADD command.
Generating an Application
To indicate that you want to generate an application, you use the
GENERATE command. When you enter this command, the ENABLE
compiler passes the contents of the object table to the program
generator. The program generator uses the description of the
application (specifically, the value of the TREE attribute) to
determine which boxes will be used by the application and then
generates the application.
2-23