%ASSEMBLY
9.2
The %ASSEMBLY compiler directive provides an implicit NETOBJECT assembly name when there is no assembly specified on the NETOBJECT declaration and there is no assembly specified on the CREATE instruction. The instruction uses the following formats:
|
|
|
|
|
Where:
assembly
Required. The {assembly} is a literal string that contains the default assembly name for NETOBJECTs.
Flags Affected: NONE
Note the following:
The %ASSEMBLY {assembly} string is not used when the assembly has been specified in the CREATE instruction source line or when the assembly keyword has been specified on the NETOBJECT declaration.
If the %ASSEMBLY compiler directive is set in an INCLUDE file, then the {assembly} string is only valid within the scope of the INCLUDE source and any nested include files. When the INCLUDE source level expires, any {assembly} string create in that INCLUDE also expires.
If the %ASSEMBLY compiler directive is set inside the scope of a FUNCTION/FUNCTIONEND, the {assembly} string is only valid within the scope of the FUNCTION/FUNCTIONEND. When the FUNCTIONEND is encountered, the {assembly} for the FUNCTION is terminated.
When the %ASSEMBLY compiler directive is enabled and used for CREATE instruction, the {assembly} string is compiled into the CREATE instruction the same as if the 'ASSEMBLY={assembly}' keyword was specified in the CREATE source line.
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See Also: Compiler Directives
![]() |