Equation functions and variables
You can use equations, functions, and variables for analysis. This table shows a brief description of the global variables:
| Global Variable | Description |
|---|---|
| _OBJECTKEY | The key of the current analysis object |
| _ANALYSISROWTAG | The current row tag |
| _ANALYSISDAILYVALUERULE | The default Daily Value Rule from the Analysis form. |
| _ANALYSISDEGRADATIONRULE | The default Degradation Rule from the Analysis form |
| _ANALYSISRNDRULE | The default Rounding Rule from the Analysis form |
| _ANALYSISSHELFLIFE | The default Shelf Life from the Analysis form |
| _ANALYSISPARAM | The current technical parameter |
| _ANALYSISCURRLOOP | Returns the current iteration. To control the looping, specify a value.
|
| _ANALYSISERRSUPPRESS | Suppresses the error message. It is suppressed when the equation refers to a RowTag has not been calculated yet.
|
| _SOURCECHANGED | Checks whether source data has been changed.
|
_SOURCECHANGED example
This script shows an example of how to use this variable.
If
_SOURCECHANGED = 1 Then
Messagelist("Source data changed");
endif
If
_SOURCECHANGED = 0 Then
Messagelist("Source data not changed");
endif