containerContextDependent
The function part property containerContextDependent allows you to extend the name space that is used to resolve function references from within the function part that includes the property. Valid values are no (the default) and yes.
It is recommended that you avoid using this capability when you develop new code. The property is primarily available for migrating programs from VisualAge Generator. If you set this property to yes, however, the implications are as follows:
- If the usual steps of a name search do not resolve a reference at editing time, the EGL editor does not flag the unresolved references as errors.
- If the usual steps of a name search do not resolve a reference at generation time, the search continues by reviewing the name space of the program, library, or page handler that contains the function part.
- If you have declared a function at the top level of an EGL source file rather than physically inside a container (a program, page handler, or library), that function can invoke library functions only if the following situation is in effect:
- The container includes a use statement that refers to the library
- In the invoking function, the property containerContextDependent is set to yes
Related concepts
References to parts
Related reference
Function part in EGL source format
]Use declaration