EasyManuals Logo

CipherLab 8200 User Manual

CipherLab 8200
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 #32 background imageLoading...
Page #32 background image
20
CipherLab BASIC Programming Part I
3.2.2 ARRAY VARIABLES
An array is a group or table of values referenced by the same variable name. Each
element in an array is referenced by an array variable that is subscripted with an integer
or an integer expression.
An array variable name has as many dimensions as there are subscripts in the array.
For example,
A(12) : would reference a value in a one-dimension array.
T(2, 5) : would reference a value in a two-dimension array.
and so on.
Each element in an array is referenced by an array variable that is subscripted with
an integer or an integer expression. For example,
DIM IntegerA%(20) : declares an integer array with 20 elements.
DIM StringB$(100) : declares a string array with 100 elements.
DIM RealC!(10) : declares an integer array with 10 elements.
DIM Tb(5, 5) : declares a two-dimension integer array with 5x5 elements.
ArrayD(i+1, j) : The elements of an array are subscripted with an integer
expression.
The first element of an array is subscripted with 1.
In the CipherLab BASIC language, the maximum number of dimensions for an array
is 2, and, up to 32,767 elements per dimension is allowed while compiling.

Table of Contents

Other manuals for CipherLab 8200

Questions and Answers:

Question and Answer IconNeed help?

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

CipherLab 8200 Specifications

General IconGeneral
IP RatingIP54
Display TypeLCD
Barcode ScannerLaser
ConnectivityRS-232
I/O PortsRS-232

Related product manuals