NodesData
Variable Modify
Slot Usage: 0
| Parent Node |
|---|
| Variable Create |
Overview
Variable Modify updates an existing variable created by Variable Create.
The modify form adapts to the variable type from the selected parent node and exposes assignment modes for string and numeric types.
Input
Variable Source
string requiredReference to a Variable Create node.
Type Reference (Internal)
stringRead-only type context loaded from selected variable source.
Type-Specific Modify Fields
Displayed fields depend on referenced variable type:
- String:
varStringsupports Template Expressions.assignModeString:OVERWRITE,APPEND,PREPEND.maxChar: maximum stored length; overflow is truncated from start.
- Number:
varNumberassignModeNumber:SET,ADD,SUBTRACT,MULTIPLY,DIVIDE.
- Integer:
varIntegerassignModeInteger:SET,ADD,SUBTRACT,MULTIPLY,DIVIDE.
- Boolean:
varBool. - Object:
varObject. - Datetime: now toggle or explicit datetime.
- Rectangle, contour, image, week time ranges: corresponding value editors.
When divide mode is used with zero divisor, runtime keeps previous value and reports a warning.
Output
outValue
Updated variable value.