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 #43 background imageLoading...
Page #43 background image
31
Chapter 4 BASIC Commands
REM
Purpose To insert explanatory remarks in a program.
Syntax REM remark
remark
Remarks remarkmay be any sequence of characters.
The BASIC compiler will ignore whatever follows REM or the apostrophe (‘)
until
end of the line.
Example
REM This is a comment.
‘ This is a comment.
SET_PRECISION
Purpose To set the precision of the decimal points for printing real number expressions.
Syntax SET_PRECISION(N%)
Remarks N%is a numeric expression in the range of 0 to 6.
The precision is set to two digits by default.
Example
PI! = 3.14159
PRINT “PI = ”, PI!
SET_PRECISION(6)
PRINT “PI = ”, PI!
SET_PRECISION(2)
PRINT “PI = ”, PI!
‘ result: PI = 3.14 (by default)
‘ result: PI = 3.141590
‘ result: PI = 3.14
SGN
Purpose To return an indication of the mathematical sign (+ or -
) of a given numeric
expression.
Syntax A% = SGN(N)
Remarks A%” is an integer variable to be assigned to the result.
A%
Meaning
1
0
-1
N > 0
N = 0
N < 0
N” is a numeric expression.
Example
A% = SGN(100)
B% = SGN(-1.5)
‘ A% = 1
‘ B% = -1

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