Increment Variable

Verb: incrementVar

Available from: <Standard>

Increments a numeric variable.


incrementVar --number(Numeric)


Script Designer Required AcceptedTypes Description
--number Numeric Variable Required Number Numeric variable to increment.


The variable "numericVariable" is set to 0 and used in a loop While, which increments it with the Increment Variable command while the given condition is satisfied.

defVar --name numericVariable --type Numeric --value 0
while --left "${numericVariable}" --operator "Less_Than" --right 10
	incrementVar --number ${numericVariable}
	logMessage --message "${numericVariable}" --type "Info"

See Also

  • Convert Number to Text
  • Convert Text to Number
  • Decrement Variable
  • Evaluate
  • Generate Random Number
  • Solve Linear Equations
  • Solve Linear Optimization Problem
  • Truncate Number