Loading...
Select Version
&pagelevel(3)&pagelevel
Domain: Procedure information
The EXPILICIT-CALL( ) function outputs the type of call to a procedure. TRUE means that the call was explicit (i.e. by a CALL-PROCEDURE, INCLUDE-PROCEDURE) and FALSE means an implicit call (e.g. when the call is made by a command in a procedure; see also the SDF-A statement //ADD-CMD ... IMPLEMENTOR=*PROCEDURE in the “SDF-A” manual [16]).
Format
EXPLICIT-CALL( ) |
Result type
BOOLEAN
Input parameters
None
Result
TRUE
The specified call is an explicit one, i.e. it was issued by CALL-PROCEDURE, INCLUDE-PROCEDURE (or an alias name or redefined name for it).
FALSE
The specified call is not an explicit one.
Error messages
No error messages
Example
/SET-PROCEDURE-OPTIONS “Procedure MYPROC” / WRITE-TEXT 'Explicit call: &(EXPLICIT-CALL)' /EXIT-PROCEDURE /CALL-PROCEDURE MYPROC Explicit call: TRUE /INCLUDE-PROCEDURE MYPROC Explicit call: TRUE /DO MYPROC Explicit call: TRUE /MY-COMMAND MYPROC “User command with implementation of procedure MYPROC” Explicit call: FALSE