* *
* * News
 • Daily news
 • Archived news

 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
.BASIC Expressions and Operators.

  Expressions and Operators   Contents   Index
Expressions and Operators
An expression can be a string or 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 complex conditions or manipulate individual
  Functional operators   supplement simpler operators
  String operators       combine and compare strings
See Also  Hierarchy of Operations - order of precedence table
          Truth Table             - BASIC logical operators truth table
* * ** * * * *