Entry constants
The
appearance of a label prefix to a PROCEDURE or ENTRY statement explicitly declares
an entry constant. A parameter-descriptor list is obtained from
the parameter declarations, if any, and by defaults.
External entry constants must be explicitly declared. This declaration:
- Defines an entry point to an external procedure.
- Optionally specifies a parameter-descriptor list (the number
of parameters and their attributes), if any, for the entry point.
- Specifies the attributes of the value that is returned by the
procedure if the entry is a function.
 >>-ENTRY-+-----------------------------+------------------------>
'-(parameter-descriptor-list)-'
>--+--------------------+--+------------------------------+----->
'-RETURNS--attribute-' '-OPTIONS(characteristic-list)-'
>--+---------------------------------+-------------------------><
'-EXTERNAL-+--------------------+-'
'-(environment-name)-'
|
The attributes can appear in any order.
- ENTRY
attribute
- For complete ENTRY attribute syntax, refer to ENTRY attribute.
- OPTIONS attribute
- For complete OPTIONS attribute syntax, refer to OPTIONS option and attribute.
- RETURNS attribute
- For complete RETURNS attribute syntax, refer to RETURNS option and attribute.
- EXTERNAL attribute
- If you don't specify an environment-name,
the name is the same as the declaration. For a complete description
of the EXTERNAL attribute refer to INTERNAL and EXTERNAL attributes.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)