Division Assignment (/=)

The /= operator used after the LET keyword, assigns a variable by dividing the current variable value by a numeric expression.

Syntax

variable /= expr
Important:

This operator cannot be used as an element of an expression, it is only allowed as assignment operator with the LET instruction.

Usage

The /= assignment operator divides the value of the left-hand variable by the right-hand numeric expression, and assigns the result to the variable.

Example

MAIN
  DEFINE x INTEGER
  LET x = 500
  LET x /= 5
END MAIN