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 #42 background imageLoading...
Page #42 background image
30
CipherLab BASIC Programming Part I
GOSUB
Purpose To call a specified subroutine.
Syntax GOSUB SubName|SubLabel
Remarks SubNameis the name of a subroutine.
SubLabelis the line label of a subroutine.
Example
GOSUB DoIt
GOSUB Done
SUB DoIt( )
PRINT “Now I’ve done it!”
END SUB
Done:
PRINT “Now I’ve done it!”
RETURN
GOTO
Purpose
To branch out unconditionally to a specified line number of line label from the
normal program sequence.
Syntax GOTO LineNumber|LineLabel
Remarks LineNumberis the integer number in front of a program line.
LineLabelis the string label of a program line.
Example
Loop:
GOTO Loop
INT
Purpose To return the largest integer that is less than o
r equal to the given numeric
expression.
Syntax A% = INT(N)
Remarks A%is an integer variable to be assigned to the result.
Nis a numeric expression.
Example
A% = INT(-2.86)
B% = INT(2.86)
‘ A% = -3
‘ B% = 2

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