Using the value of this numerical expression, designation is made as to at which position
from the left of the display output data display will begin.
The method for counting the positions on the display is shown below.
0 1 2 3 4 5 6 7 8 9 1 0 1 1
Example:
PRINT A (make A=12345)
PRINT CSR 1 ;A
12345
12345
PRINT CSR 5; A
PRIN T B$ (make B$ - ABCDE) ABODE
PRINT CSR 2; 8$ ABODE
PRINT CSR 10;B$
12345
ABODE
If a ) is used instead of a ; following the CSR function, the display will be
cleared once and then display will be made from the left using the OS Key.
5-6-3 Jump Command
• G O T O s t a t e m e n t
A GOTO statement is also called an "unconditional jump" and is a command which
causes program execution to go to a designated location (line number) unconditionally.
Format: GOTO | expression line number (1 through 9999)
[ # numerical expression program area number
(0 through 91
When a numerical expression is written immediately following the GOTO statement,
program execution jumps to a line number. When a is written immediately
following the GOTO statement, program execution jumps to a program area.
The numerical expression may be a numerical value, a variable or a calculation formula.
Example:
GOTO 10 jump to line 10
GOTO N jump to the line number which is the value of variable N
(jump to line 30 if N is 30)
-47-