Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
BASIC Expressions and Operators
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Expressions and Operators
An expression can be a string constant, numeric constant, a variable, or a
single value obtained by combining constants, variables, and other
expressions with operators.
Operators perform mathematical or logical operations on values. The
operators provided by BASIC can be divided into five categories:
Category Task
◄Arithmetic Operators► Perform calculations
◄Relational Operators► Compare strings and numeric values
◄Logical Operators► Test conditions or manipulate individual bits
◄Functional Operators► Supplement simpler operators
◄String Operators► Combine and compare strings
See Also For
◄Hierarchy of Operations► Order of precedence table
◄Truth Table► BASIC logical operators truth table