Table of Contents

ugBASIC User Manual

DIV ✓

SYNTAX

   DIV var, divisor[, remainder]

PURPOSE

The DIV statement allows you to make a division using the dividend as a variable where the result will be stored. Optionally, it is possible to indicate a variable where to store the remainder of the division operation.

EXAMPLE

  DIV a,2
  DIV a,3,q

See also the following example files:

ABBREVIATION

 Dv

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY