AT&T 6300 Programmer's Manual page 73

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Variable Types
ARITHMETIC OPERATORS
The arithmetic operators, in order of
precedence, are as follows:
Operator
*
/
\
MOD
+
Operation
Exponentiation
Negation
Multiplication
Division
Integer Division
Modulus Arithmetic
Addition
Subtraction
Sample Expression
X-Y
-x
X*y
X/Y
X\Y
XMODY
X+Y
X-Y
To change the order in which the operations
are performed, use parentheses. Operations
within parentheses are performed first. Within
the parentheses, the usual order of operations
is maintained.
3-15

Advertisement

Table of Contents
loading

Table of Contents