| Syntax | $call{dynamic_function_name}{argument_1}{argument_2} ... {argument_n} |
| Documentation | Function $call invokes the named dynamic function witch will be precessed in a READ-WRITE mode and returns the results.
If the called dynamic function needs some arguments, this arguments should be passed to $call.
This passed argumends can be accessed inside the dynamic function by calling $getParameter.
$call{dynamic_function_name}{argument_1}{argument_2} ... {argument_n}
Paramenters: dynamic_function_name, the name of the dynamic function to be invoked,
argument_1 through argument_n, the arguments needed by the dynamic function for invocation.
Returns: whatever the return value of the dynamic function is.
|
| Examples |
| Invoke the dynamic function 'newDB' by using $call:
...
$//Define the dynamic function 'newDB'.
$createFunction{newDB}
{
if{$hasDataBase{}}
{
$//Ignore.
}
{
$createDataBase{}
}
}
...
$//Invoke 'newDB'.
$call{newDB}
|
| Group | Control_Flow |
| Minimum required transaction-mode: | UPDATE |
| Required scripting permission of the developer | PERMISSION_FL_ADVANCED |
| Minimum parameters | 1 |
| Maximum parameters | <unlimited> |