Implementing a Method-/Process-/Runnable-Local Variable
Open the implementation editor for the local variable:
from the specification editor of the parent component
from the implementation editor of the parent component
If automatic implementation is activated, a warning window opens.
Click OK to continue.
For local variables of scalar, array, matrix or enumeration type, the implementation editor for scalar elements, arrays and matrices opens.
For classes and records used as local variables, the implementation editor for component references opens.
Do one of the following:
- Implement the scalar variable or the array/matrix with deactivated Reference option as described in Specifying Individual Implementations.
- Assign an implementation type to the scalar/enumeration variable or the array/matrix with deactivated Reference option.
- Implement the enumeration as described in Specifying an Enumeration Implementation.
- Implement the array/matrix with activated Reference option as described in Implementing References – 1.
- Implement the class or record variable as described in Implementing References – 2.
Note
If are used, the memory class selected in the Memory Location for Instances combo box does not apply to the reference in this case, it applies to the target of the reference.
Use automatic Implementation in the Element menu is now available.
The automatic implementation of a method-/process-/runnable-local variable can only be reactivated in the implementation editor of the component.
See also
Activating Automatic Implementation
Specifying Individual Implementations
Assigning an Implementation Type
Specifying an Enumeration Implementation
Opening the Implementation Editor for an Element (A)
