Softdial Scripter™ - Step Library
Subtract 1 from Number
Used to perform a simple decrement function.
This step is normally used as a loop counter or accumulator.
It is often used with the Compare Values or Decision Branch components to direct script flow when a particular value is reached.
See also Add 1 to Number.
Inputs
1. |
Number
|
(Mandatory) |
The number to be decremented |
Fig. 1 - Subtract 1 from Number - Inputs
Outputs
1. |
Result
|
(Mandatory) |
The decremented result |
Fig. 2 - Subtract 1 from Number - Outputs
Outcomes
1. |
Error e.g. invalid Input |
2. |
OK
|
Fig. 3 - Subtract 1 from Number - Outcomes