Defining parameters
88
Defining parameters
A parameter is a specification of a variable that can be changed, passed, or
returned. Parameters are used only for operations.
A parameter always has a direction, which indicates the flow of information.
Parameter properties
A parameter has the following properties:
Property Description
Maximum
length
Parent Operation to which the parameter belongs to 254
Name Name of the parameter 254
Code Reference name for the parameter 254
Comment Descriptive comment for the parameter —
Data Type Set of instances that share the same operations,
abstract attributes, and relationships, and semantics
—
Array Used in generating and reverse engineering for Java
and PowerBuilder. When selected, arranges attributes
into table format
—
Parameter
Type
Direction of information flow of the parameter 254
The choice you make in the Direction dropdown listbox indicates what value
is returned when the parameter is called by the operation during the execution
process.
You can set the following values for the direction:
Value Description
In Input parameter passed by value. The final value may not be modified
and information is not available to the caller
In\Out Input parameter that may be modified. The final value may be modified
to communicate information to the caller
Out Output parameter. The final value may be modified to communicate
information to the caller
Direction