Decrement
 

Short Name: Decrement

Definition: A way to decrement a single value variable, usually used in a For Loop

Usage: Decrement(variabley,value)

Objective:
  • Usually used in a For loop, to decrement a variable by a given value
  • The variable, passed as first parameter, is a scalar

Note:
  • Does not return anything

Examples:
  • decrement(variable,1) is equivalent to variable = variable - 1