Sharp PC-1403 Operation Manual page 222

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

216
50 IF
A>L
THEN
PRINT
"A"
and
results
in an error
when
it is entered
through
the
keyboard.
The
error occurs
because
a
command
which
does
not
exist
in the
PC-121
O
Series
does
in
fact
exist
in the
PC-1403.
To solve
this problem,
insert
a
THEN command
into the IF
statement as
follows.
50
IF A>LPRINT
"A"
(Print
out
"A"
if
A>)
(1)
IF
statement
If,
for
example,
50
IF
A>L PRINT
"A" (display
"A"
if
A>L)
is
found
in
the
program for
the
PC-121 O
Series Pocket
Computers,
it is interpreted
as
To use
PC-1210 Series
programs
on
the
PC-1403,
they must be modified in
the same
way as PC-1245 Series
programs
except
items
(2) and (7).
I
n
addition,
the following
modifications are
necessary.
Modifications Required for PC-1210Series
(1)
The
PC-1245
Series uses a line number
rangi
n
g from
1to999,
whereas
the
PC-
1403
has
an
extended line
number
ranging from
1
to 65279. Therefore, the line
number
uses
3
bytes
in
RAM
(PC-1245 Series uses 2
bytes).
The
modification
is
carried
out
automatically when
the
program
is
loaded
through the cassette tape.
However,
there
is a possibility
of
memory
overflow
(ERROR
6)
when l
o
ading
or
execuiing a long
program.
Further,
when
a singie line is
close
to 80
bytes
long,
this
modification
may
result in the
erasing of the
end
of
the
line.
(2)
If
the tape
stops
or the read
alarm
stops
when
readi
n
g
a
program
from
a
tape
with
PC-1245 Series
programs,
the computer
will
remain
busy
for
1
or 2 seconds
and
two asterisks will appear
i
n
the
display.
This
is because
the computer is
modifying
the li
n
e numbers as described
in
(1}
above.
Additional modifications
APPENDIXG
Using Programs
Written on Other PC Models

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents