[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

EXAMPLES:

                    2+2
                    A+B+C
                    X%+1
                    BR+10E-2

SUBTRACTION (-): The minus sign (-) specifies that the operand on the right is subtracted from the operand on the left.

EXAMPLES:

                    4-1
                    100-64
                    A-B
                    55-142

The minus can also be used as a unary minus. That means that it is the minus sign in front of a negative number. This is equal to subtracting the number from zero (0).

EXAMPLES:

                    -5
                    -9E4
                    -B
                    4-(-2) same as 4+2

MULTIPLICATION (*): An asterisk (*) specifies that the operand on the left is multiplied by the operand on the right.

EXAMPLES:

                    100*2
                    50*0
                    A*X1
                    R%*14

DIVISION (/): The slash (/) specifies that the operand on the left is divided by the operand on the right.

EXAMPLES:

                    10/2
                    6400/4
                    A/B
                    4E2/XR

[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated November 13, 1998.