EasyManua.ls Logo

Casio PB-100 - Page 63

Casio PB-100
67 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program Comm^List
Classificathin
INPUT INPUT variable string
C a u s e s d a t a t o b e e n t e r e d f r o m
the keyboard during execution of
a program. The program execu
tion i s stopped until after the end
of input. P.44
KEY
Chara c t e r v a r i able = K E Y
Reads a character entered during
execution of a program artd as
signs it to a character variable.
Since the program is not stopped
b y t h i s c o m m a n d , n o t h i n g i s
assigned to the character variable
if no key entry is made. P.45
PRINT
PRINT output control
function 11J
output element |'
Output s the desi gnated outpu t
element.
P. 4 5
CSR
CSR /I j;}
(0 ^ ^ 11)
Displays from the designated nth
position.
P. 4 6
GOTO
0/-VT/-. / line number ]
i variable /
Causes control to jump to the
designated line number. P.47
if-ITHENI
» '
IF comparison expression
1 T H E N li n e nu m b e r \
\ ; c o m m a n d J
Causes control to jump to the line
number following THEN, or exe
c ut e s t h e c o m ma n d f o l l o wi n g
" ;". if the result of the compari
s o n i s t r u e .
Causes control to proceed to the
n e x t l i n e n u m b e r i f t h e r e s u l t o f
th e c om pa ri so n i s f al se . P.4 8
GOSUB GOSUB 1
1 v a r i a b l e /
C a l l s o u t t h e s u b r o u t i n e o f t h e
de s i gna t e d l ine nu m b er fo r e x e cu
t i o n . A f t e r t h e s u b r o u t i n e i s e x e
c u t e d , c o n t r o l r e t u r n s t o t h e
GOSUB sta temen t by the RE
TURN statement to proceed to
the command following that
statement. P.51^OYfclcil.lb 3f)l
' r t v t i
RETURN RETURN
Signifies the end of a subroutine;
r e t u r n s c o n t r o l t o a l i n e n u m b e r
ne x t t o t he G O S UB st a te m e nt .
P. 5 1
i ' v i f u l j U t s \ r i \
,i
•.Weiii}« ni t ;
•OUlev
t0.«l
Looping :
'
i " ' , i ' >
FOR
FORi'=e,TOe,(STEPc,l
V d e n o t e s a n u m e r i c a l
variable, and e,, e, and
Cy represent a numeri
cal expression respec
tively.
Declares the beginning of a loop
in which numerical value v
changes from initial value e, to
terminal value e, in increments o.f
ey
Th e loop is repeated
fimes
between the FOR and NEXT
statements. If the increment
is omitted, e, is regarded as " 1 ".
P. 4 9
-62-

Related product manuals