|
|
Topic complex |
Other functions |
Function |
execmacro() |
Short |
Executes a function in an external module |
Syntax |
EXECMACRO(Pfad,Funktion) |
Parameter |
path : path of the external module (without .prg)
function: name of the funtion in the external module |
Return |
result of the external function |
See also: |
|
Description |
The path as well as the function are not specified as a string.
So not EXECMACRO('/modules/lib_01','calculate'),
but EXECMACRO(/modules/lib_01,calculate)!
The syntax is checked by the compiler allready. Hence the external module has to exist when compiling.
No parameters can be specified that access to identifier of the calling module.
|
Write a comment:
|
|
|