IncrementVariable
Alias:IncrementVariable
, Increment
Output:Unit
Increment an integer variable by a particular amount
Parameter | Type | Required | Position | Default Value | Summary |
---|---|---|---|---|---|
Variable | VariableName | ✔ | 1 | The variable to increment. | |
Amount By | int | 2 | 1 | The amount to increment by. |
Examples​
Example 1​
SCL​
- <var> = 1
- IncrementVariable Variable: <var> Amount: 2
- Log <var>
Expected Logs​
3
Example 2​
SCL​
- <var> = 1
- Increment <var> By: 2
- Log <var>
Expected Logs​
3