ENABLE Reference Manual

RUNNING ENABLE
ENABLE Commands--Usage Overview
ENABLE Commands--Usage Overview
The following paragraphs discuss using the ENABLE commands.
Generally, you use these commands to:
• Describe an object
• Add the object to the object table
• Generate an application
Suppose, for example, that you want to generate an application
that can access a data base file named "parts." To do this, you:
1. Describe a box that is to represent this file
2. Name the box (for example, "parts-box") and add it to the
object table
3. Describe the application that is to use the box
4. Name the application (for example, "parts-in") and add it to
the object table
5. Generate the application
Describing an Object
To describe an object, you supply values for the attributes that
define the characteristics of that object. ENABLE stores these
attribute values in an internal table called the attribute table.
This table contains:
• The starting value of each attribute (a value that the
attribute has when you start ENABLE)
• The current value of each attribute (a value that you supply
with a SET command)
• The override value of the attribute (a temporary value that
you supply with an ADD command)
• The default value, if any, of the attribute (a value that
ENABLE supplies for certain attributes if the starting value
is null and you have not supplied a current or override
value)
2-12