With the function block set it is possible to assign a value to a variable. The name of the variable can be choosen freely.
The name of the section can be choosen by the user. Since the format of the definition file is .ini the section name has to be unique.
The keyword Type defines the type/function of the function block.
OOP defines if the value is stored in process or out of process. OOP=0 should be choosen in most cases!
Any variable must carry a name. To assign the variable name please use ValueName
Obviously the variable should contain a value. This must be set with the keyword Value
Every block MUST contain the keyword nextblock to signal the Workflow Engine which block has to be processed next!
[firstblock]
Type=set
OOP=0
ValueName=TrueValue
Value=True
Nextblock=secondblock
A defined variable can be used in any subsequent block if you enclose the VariableName with %-signs. For example the above variable can be used in any other block as %TrueValue%
For example to display a variable use:
[secondblock]
Type=msgbox
Title=This is the Title of the Message Box
Message=%TrueValue%
Nextblock=end