EasyManuals Logo

CipherLab 8300 User Manual

CipherLab 8300
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 #41 background imageLoading...
Page #41 background image
29
Chapter 4 BASIC Commands
4.1 GENERAL COMMANDS
This section describes commands that are not confined to any specific hardware features.
ABS
Purpose To return the absolute value of a numeric expression.
Syntax A = ABS(N)
A
is a numeric variable to be assigned to the absolute value of a numeric
expression.
Nis a numeric expression; it can be an integer or a real number.
Example
TimeDifference% = ABS(Time1% - Time2%)
BIT_OPERATOR
Purpose To perform bit-wise operations of integers or long integers.
Syntax C = BIT_OPERATOR(operator%, A, B)
Remarks C is an integer (C%) or long integer variable (C&
) to be assigned to the
result.
operator%” is an integer variable, indicating the bit-wise operator. (see below)
Ais an integer (A%) or long integer (A&) variable, indicating the 1
st
operand.
Bis an integer (B%) or long integer (B&) variable, indicating the 2
nd
operand.
OPERATOR%
Meaning
1
2
3
bit-wise AND
bit-wise OR
bit-wise XOR
Example
Result& = BIT_OPERATOR(2, 1100, 1000)
DIM
Purpose
To specify the maximum value of variable subscripts and to allocate storage
accordingly.
Syntax DIM Array (range {,range}) {, Array(range {,range})}
Remarks Arrayis an array variable.
rangecan be an integer or an integer expression.
The DIM statement sets all the elements of the specified arrays to an initial
value of zero or empty string.
Note that the maximum allowable number of dimensions for an array is 2.
Example
DIM A(10), B%(20), C$(30, 10)

Table of Contents

Other manuals for CipherLab 8300

Questions and Answers:

Question and Answer IconNeed help?

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

CipherLab 8300 Specifications

General IconGeneral
BrandCipherLab
Model8300
CategoryPDA
LanguageEnglish

Related product manuals