.pg .x external > module .x module .lt ------------------------------------------------------------------------ EXTERNAL MODULE module-name [] ------------------------------------------------------------------------ .el .b 3 The EXTERNAL MODULE macro specifies that ^&module-name\& is an external module and that _<^&argument-list\&_> are the required arguments for the external module. .b If no arguements are specified in _<^&arguement-list\&_>, no arguments are passed to the external module and _<_> must be specified as a place holder for the _<^&argument-list\&_>. .b If _<^&default-list\&_> is specified, each element in the _<^&argument-list\&_> must be present in the _<^&default-list\&_>; plus each element in the _<^&default-list\&_> may be set to a default value. .b For example: .b .lt external module LIB$DAY_OF_WEEK lib$day_of_week day=&day .el .b will produce the following code: .b .lt pushl #0 pushal day calls #2,LIB$DAY_OF_WEEK .el .b See also FORWARD MODULE, GLOBAL MODULE, and MODULE.