Current Help System: Tutor Translator (View Core Help)

## External Procedure Call

The Tutor for windows external procedure call command allows two formats:

1. With explicit external module name:
   PROC_NAME ext ”MODULE_NAME.TEC”

2. With implicit external module name:
   PROC_NAME ext
   In this case the name of external module is the last used in explicit procedure call or the used with LOAD ( EXT PROC ”MODULENAME.TEC”) command.

LOAD (EXT PROC ”DEA_PROC.TEC”) translates to è

ASSIGN/E.EXTPROC = "DEA_PROC.PRG"

SP_5(33,{12.,23.,34.},{12.864345,10.,20.},"x") ext "c:\wTutor\procedur\dea_proc.tec" translates to è

ASSIGN/E.EXTPROC = "DEA_PROC.PRG"

CS2 =CALLSUB/SP_5, E.EXTPROC:E, 33, MPOINT(120.,23.0,34.0) ,MPOINT(12.864345,10.0,20.0), "X",,

SP_5(IntVar,VectorVar1,VectorVar2,StringVar) ext translates to è

=CALLSUB/SP_5,E.EXTPROC:E, E.INTVAR, E.VECTORVAR1, E.VECTORVAR2, E.STRINGVAR,,