Print

CallFunction

This function calls given function rule from current procedure. Function will be called in the same script context as calling rule so every variable defined in base rule before CallFunction will be available in function and every variable defined in function will be available after end of CallFunction

Syntax

CallFunction("functionName");

Function arguments

  • functionName – (String) Name of the rule with function type to be called

Return value

This function returns Boolean.
Returns true if function was executed successfully, false otherwise.

Examples

Example 1:
This will execute rule with name Calculate code. Calculate code function can alter value of code variable and this new value will be assigned to [Code] field;

code=100; CallFunction("Calculate code"); [Code]=code;
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?