EasyManua.ls Logo

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 #45 background imageLoading...
Page #45 background image
33
Chapter 4 BASIC Commands
IF THEN [ELSE…]
Purpose To provide a decision structure for single-line conditional execution.
Syntax IF condition THEN action1 [ELSE action2]
Remarks conditionis a logical expression.
actionis a BASIC statement.
Example
IF Data1% > Data2% THEN
Temp% = Data1%
ELSE
Temp% = Data2%
IF THEN {ELSE IF} [ELSE] END IF
Purpose To provide a decision structure for multiple-line conditional execution.
Syntax IF condition1 THEN
Statementblock1
{ELSE IF condition2 THEN
Statementblock2}
[ELSE
StatementblockN]
END IF
Remarks conditionis a logical expression.
Statementblockcan be multiple lines of BASIC statements.
Example
IF LEFT$(String1$, 1) = “A” THEN
PRINT “String1 is led by A.”
ELSE IF LEFT$(String1$, 1) = “B” THEN
PRINT “String1 is led by B.”
ELSE
PRINT “String1 is not led by A nor B.”
END IF

Table of Contents

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
Storage256 MB Flash
Operating Temperature-10°C to 50°C
Storage Temperature-20°C to 60°C
Operating SystemWindows CE 5.0
Memory128 MB RAM
Display240 x 320 pixels
Barcode ScannerLaser or 2D imager
Wireless Communication802.11b/g, Bluetooth 2.0
DurabilityIP54
CameraOptional

Related product manuals