Versions Compared

Key

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

The Add operator adds two values together. Add can be used in both variable and constant expressions. Example:

Code Block
X := Y + 5

Add 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 += 10                          'Short form of X := X + 10 

...