EasyManuals Logo
Home>CipherLab>PDA>8 Series

CipherLab 8 Series User Manual

CipherLab 8 Series
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #34 background imageLoading...
Page #34 background image
22
CipherLab BASIC Programming Part I
3.3.3 RELATIONAL OPERATOR
Relational operators are used to compare two values. The result of the comparison is
either True or False. This result may then be used to make a decision regarding
program flow.
Operator
Operation
Sample Expression
=
Equality
A% = B%
< >
Inequality
A% < > B%
> <
Inequality
A! > < B!
>
Greater than
A% > B!
<
Less than
A! < B!
> =
Greater than or equal to
A% > = B%
< =
Less than or equal to
A% < = B%
3.3.4 LOGICAL OPERATOR
Logical operators perform tests on multiple relations and Boolean operations. The logical
operator returns a bit-wise result which is either True (not zero) or False(zero). In an
expression, logical operations are performed after arithmetic and relational operations.
Operator
Operation
Sample Expression
NOT
Logical negation
IF NOT (A% = B%)
AND
Logical and
IF (A% = B%) AND (C% = D%)
OR
Inclusive or
IF (A% = B%) OR (C% = D%)
XOR
Exclusive or
IF (A% = B%) XOR (C% = D%)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the CipherLab 8 Series and is the answer not in the manual?

CipherLab 8 Series Specifications

General IconGeneral
BrandCipherLab
Model8 Series
CategoryPDA
LanguageEnglish

Related product manuals