Skip to main content
Skip table of contents

Local parameters


Local parameters

Each parameter of a logic has the characteristic "global" or "local", which is set in the parameter table.

Local parameters are only available within the compound in which they were defined, whereas global parameters retain their value throughout the process of logic.

The local parameters are always "set up" when a compound is called - at the start of a logic or at a compound transition (p$<compound>:<dt>) - and always "destroyed" when the compound is left, either with returns after a compound transition or at the end of the logic.

The same procedure applies to local parameters that have been defined in the parameter table of the group, except that these parameters are valid for all users of the group.

When determining parameter values, local parameters override global parameters, i.e. if a global parameter P1 exists in compound A, and a compound B that also contains a parameter P1 - but locally - is called within compound A, then only the local parameter P1 is visible within compound B, whose value has nothing to do with the "other" P1. Within compound A, however, only the global P1 is "visible", because the local P1 is "destroyed" after the end of compound B (return).

To avoid confusion, use of the same parameter name for different purposes should be avoided.

Please note: During a function call from the group TDV (p $ TDV: ...) there will be also be a compound transition. All parameters that are accessed from there must therefore be global.

In addition to the local compound parameters, there are also local DT parameters that are valid only during the course of the relevant DT. However, in order to make the operation of decision tables more apparent, the use of local DT parameters should largely be avoided.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.