Decrement | Mastock Help

Short Name: Decrement

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

Usage: Decrement(variabley,value)

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

  • Does not return anything

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