TurboIntegrator Global Variables

This type of TurboIntegrator variable is associated with an individual TM1® chore or with an individual process and any attendant sub-processes. There are two types of global variables: implicit and user-defined. Implicit global variables are described here. User-defined global variables are described in this document.

Global variables can be used in two ways:

  • Global variables can be declared within a process that is part of a given chore. Once declared, the global variables are available to all other processes that are part of the chore. The variables persist while the chore is executing and for the duration of the current server session. Global variables are destroyed upon server shutdown.
  • Global variables can be declared in one process and be made available to any subsequent processes called by the ExecuteProcess( ) function. These sub-processes must use the same global variable declaration statements (described in the following paragraphs) to access the global variables.

In the event that a global variable name is identical to a local variable name, the local variable definition takes precedence and overrides the global variable.

Global variables are declared in a TurboIntegrator process using one of the following two functions