Sharp EL6300 Operation Manual page 23

Table of Contents

Advertisement

"cos T:"
I
PRINT
'
' f
!..i
Then key in "COST:",
/ s
9 ~~
I N T
~=:::::::::/
Press
[lliU
eight
times.
/ ~ s_0_P_R_1
_N_T __
1,
_
:
_JI
Move the cursor to the "A".
Example: To insert
"COST:",
Inserting within a program
To insert, move the cursor to the location where you want to make the insertion.
Press the
[lliU
key. A box::::::appears and the characters shift to the right by
one position. Now press the key for the first character of the word or number you
want to insert. Then repeat the operation for the remaining characters or
numbers you want to insert. A faster way is to press
[lliU
the number of times
necessary to write in the complete insertion all at once.
:PRINT
A
To register the change, press
I
ENTER\.
PR I
N1
i
ffA
Press
[QK]
key
onetime.
PR
I
N,
~
,
TA
Move the cursor to the" E".
:PR I
NETA
50 PRINET A
I
ENTER
I
Example: To delete the "E" in "PRINET"
Deleting within a program
To delete, place the cursor on the character or number you want to delete and
press the
[]KJ
key.
39
CHAPTER 9 INTRODUCTION TO BASIC PROGRAMMING
:PRINT
A
Move the cursor to the
"T",
then key in
Example: To correct the misspelling of "PRITN"
Correcting
by
overwriting
To correct a program error, place the cursor over the mistake and simply key in
the correct letters or numbers over it. Register the correction by pressing the
I
ENTER
I
key.
Correcting and Modifying Program
Use the
[]KJ
and
[lliU
keys to change or correct the program. With the
operation mode switch in COMP/PRO mode, scroll the program to the line you
want to change. Then move the cursor to the character or number you want to
change.
To scroll the program backward (toward the first line), use the!,/"--_! key. To move
forward in the program (toward the last line of the program) use the !
"
-/I
key.
These keys make it easy for you to scan through your program a line at a time.
CAUTION:
The ~
key on the upper keyboard cannot be used as a cursor
key.
Cursor Control Keys
The cursor control keys are used to move the cursor left or right on a line and to
scroll the program up or
down.
To move the cursor left press the~
key;to
move the cursor right press the~
key.
command or
expression.
When programming, it is
wi
s e to allow increments in
your line numbering (10, 20, 30 ... 10, 30, 50,
etc.). Thi
s enables you to insert
additional lines, if necessary.
To write the next line, key in the next number in succession and then the
command or expression. When you start to write this next line, the previous
program line disappears and the display shows your new line as you write it.
CHAPTER 9 INTRODUCTION TO BASIC PROGRAMMING
38

Advertisement

Table of Contents
loading

Table of Contents