AMT Help Files

Routine Call

Syntax

Command
Mandatory parameter
Optional parameter
Mandatory keyword
Optional keyword

<Routine> ([<Parameter list>])

Description

Executes the specified routine passing the supplied parameters and returning an optional defined result value.

Diagram

Returned value type

Depends on the defined result type in the routine.

Parameters

Parameter Description
<Routine> Name of the routine to be called.
Parameter List Expressions separated by commas, specified in correspondence with the parameter list that applies to the routine that is called.

Remarks

If the routine is a performable global routine, its main routine is executed. If the routine is added to an object as an insertable global routine, then the code of the insertable will replace the routine-call when this object is generated.

Examples


rou_01 ()

rou_02 (gd-13)

country_code := search_country_code (country)

 

Return to

Commands