Sharp PC-1500A Instruction Manual page 166

Hide thumbs Also See for PC-1500A:
Table of Contents

Advertisement

All
and
more
about
Sharp
PC-1500
at
http:/lwww.PC-1500.info
Command
Abbreviation
Remarks
SORGN
so.
This
command $P«ifie1 the present pen
position
a.
s the
(set
origin)
SOR
.
new
starting
point
(point of
origin).
Valid
for
GRAPH
SORG
.
mode
only
.
TAB
Specifies pen position.
Valid for
TEXT
mode only.
(1)
TAB
Expression
(2)
LPRINT
TA
B Expression;
...
TEST
TE.
Color
check
.
When
executed. test
draws a 5
mm
by
T ES.
Smm
square
in
each
color.
TEXT
TEX.
TEXT
mode
specification.
This
mode
prints
charaeters
and
numerals.
-
Caution
-
(Refer
to
page
46)
This unit
is
capable of calcu lation for
a
mantissa of up to
1
O
digits.
To increase
accuracy.
however,
the
mantissa
is calculated
inside the
unit
up
to
12
digits,
the
result of which
is rounded
to the
10th
digit
for
display.
For example.
5/9 and
5/9
*
9
are
calculated
as
follows;
5/9
--+
5.55555555555E·ll1
t
This is
rOt.Jnded
to the 10th
digit.
Display--+
5.555555556E·01
5/9
*
9
- >
4.99999999999E
00
t
This is
rounded
to
tho
10th digit.
Display -
5.
Thus. calculations
are carried
out
for mantissas
ol
up to
12
digit~
This
may cause
a diflerence
in the
results of calcu
lations
when performed
in
succession
and independently.
[Example 1] 3
1
-
9
Successive calculation
:
3
[
SH••l~2
G
9
'""°''--+
-
9E
-
11
Independent
calculation:
3
[
-
n~
2
,
,,.,
..
,
-+
9
8
9
1
......
1
-+
0
Even
in the IF
statement, this
difference
may cause
the program
not to work
as
pl
anned fo
r
any
successive calculations.
(Example
2J
10 INPUT A
20
IF
A
"
2
>•
9
THEN
50
With
A
3. 3
"
2
results in
8.99999999991
E
00.
making a
n
IF
statement
unlormulated.
In
this case,
reprogram the
calculation by using variables so that
it is
independent,
as
follows:
10 INPUT
A
15 8
:
A" 2
l
20
IF
B
>
~
9
THEN
50
The
result
of
A
"
2
is
substituted
for
a
variable, which
is
used
to
formulate a
conditional
expression.
(
Power
calculations
are
based
on log
x
and
10x.
thus
tending
to cause a
diflerence
in
the)
results from
those
calculated
inside the com
puter.
A
"
B
-
10B
log
A
Do not
sale
this
PDF
!!!
ENO
164

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents