During execution of a model, you can obtain a value of a global variable, which has already been defined, by calling getGlobalVariable(String variableName) of the ALH API. This method returns a Java object, which is the value of the global variable specified by the given variable name.
| Code Block | ||
|---|---|---|
| ||
public Objectobject getGlobalVariable(String variableName) { ... } |
The example code is as follows
...