Method UndefinedVariable2
UndefinedVariable2(string, out string, out string)
Undefined variable event
Declaration
void UndefinedVariable2(string variableName, out string value, out string attributes)
Parameters
| Type | Name | Description |
|---|---|---|
| string | variableName | Name of undefined variable |
| string | value | Value to be assigned to variable |
| string | attributes | Attributes to be assigned to variable |
Remarks
The undefined variable event can be used to provide a hook into the data model or API of another software system. If a variable is referred to in your calculations which doesn't exist then your event handler will be called and you have the opportunity to provide a value for the referenced name. Note that once a value has been provided the variable will then exist in Tedds so the undefined event will not fire again for that variable unless it is explicitly deleted.