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 #33 background imageLoading...
Page #33 background image
21
Chapter 3 Basics of the CipherLab BASIC Language
3.3 EXPRESSION AND OPERATORS
An expression may be a string or numeric constant, or a variable, or it may be a
combination of constants and variables with operators to produce a single value.
Operators perform mathematical or logical operations. The operators provided by the
CipherLab BASIC Compiler may be divided into four categories, namely, Assignment
Operator, Arithmetic Operators, Relational Operators, and Logical Operators.
3.3.1 ASSIGNMENT OPERATOR
The CipherLab BASIC Compiler supports an assignment operator: “=”. For example,
Length% = 100
PI! = 3.14159
Company$ = CipherLab Co., Ltd.
3.3.2 ARITHMETIC OPERATOR
The arithmetic operators are:
Operator
Operation
Sample Expression
^
Exponentiation
A% = 9^3
-
Negation (unary)
A% = -B%
*
Multiplication
A! = B! * C!
\
Division (integer)
A% = B! \ C!
/
Division (real)
A! = B! / C!
+
Addition
A% = B% + C%
-
Subtraction
A% = B% - C%
MOD
Modulo arithmetic
A% = B% MOD C%

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