HiLMAs reference
Back

Subroutine Handling

Next

CALL

CALL subroutine[,(param1,param2,...)]

 

Description

This statement recalls an external subroutine, that is a routine compiled separately and linkedited together the calling program.
param1, param2, etc. are Hilmas variables to pass to the external subroutine, and can be every variable defined in Hilmas, of whatever type.

Standard IBM calling convention is used, so every compiled program written in any language can be recalled with this statement. Only the addresses of the variables are passed; so in the called Hilmas program the same variables, with the same type and length must be defined.
See ROUTINE statement for details.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 subroutine fixed name     Name of the external routine
2 param1 Input Any    
3 param1 Input Any    
4 ......        

 

Examples

 


Back Start Next
SUBEXIT Top ROUTINE / RETURN