Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This operator is also called Multiply-Low, or simply Multiply. It can be used in both variable and constant expressions. When used with variable expressions or integer constant expressions, Multiply Low multiplies two values together and returns the lower 32 bits of the 64-bit result. When used with floating-point constant expressions, Multiply Low multiplies two values together and returns the 32-bit single-precision floating-point result. Example:

Code Block
X := Y * 8

Multiply-Low has an assignment form, *=, that uses the variable to its left as both the first operand and the result destination. For example,

Code Block
X *= 20      'Short form of X := X * 20

...