Table of Contents

ugBASIC User Manual

MUL

SYNTAX

   MUL var, expr

PURPOSE

The MUL statement is used to multiply the value of a numeric variable by a specified amount. In other words, it is like multiply one number with another. It is the same as var = var * expr.

It takes the var to which you want to multiply a value and the expr as the expression you want to multiply to the variable.

EXAMPLE

  MUL v, 42

ABBREVIATION

 Mu

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