We Pause; Summary - Sharp PC-1500 Instruction Manual

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

Advertisement

All
and more about Sharp PC-1500
at
http://www.PC-1500.info
Notice that
the
space between
Y and
J was stored and
that the "
(double quote) characters
were
not.
The double quotes
serve
as "delimiters." a guide
to
indicate what other characters
will be stored. Any
character
(includ ing
spaces).
except
the
double quote itself, may be stored.
This
sequence of characters
enclo~ed
by double
quotes
is
called a
character
"strin.g"
and
character
variables are often referred to as
"string
variables."
Each character variable can hold
up
to
16
characters.
Some
caution
must be used
in
order not
to
exceed this limit or information will
be lost.
This
is
demonstrated by
the following
assignment
which
unintentionally
normalizes
John's eating habits. Type:
F$
=
"JOHN
EATS
BUTTERFLIES"
Now
recall
the
information:
m
m
I
ENTER
I.
Some change!
One
final
point
to
remember about
variables: they
have
the memory of
an elephant. lnforma·
tion remains stored in a variable until:
1) Another Assignment statement
is
executed for
the same variable.
2) A
NEW or
CLEAR command
is
given.
3)
A program
is run using the RUN
command.
4) The computer's batteries are changed.
The value of a variable is even
retainc<.l
when
the
power is
turned
off
I
Test this by
turning SHARP
off, then
on.
In RUN mode, ask for the value
of
G {Type
QD
l<
• T<•
I
). Impressive, eh? As
you
begin to
program
in
the next
chapter,
you
will
find variabl•s am indispensable.
J
.
We Pause ... (without station identification)
Congratulations!
If
you
have perservered
to
this point, you
now
know the
fundamentals
of
the SHARP
PC.
1500 well
enough
to perform a wide variety of
calculations.
Because
the
PC-1500
is so
vers.atile,
each reader
will
find many
uses
for
it
in
h
is
own
fields of interest. No
matter'
what
your application
is.
however,
you
will eventually want to learn
programming
;
n order
to fully
exploit the power of this amazing machine.
At this
point
you have a choice. For those whose hearts have
quickened,
whose
breathing is
more rapid at
the
thought of programming (and
for
anyone
not
yet asleep).
we
request that
you
to
go
back and
read
Chapter
O, integrating
your new
knowledge
with the
information
there.
Then proceed to Chapter
3.
Other
readers, who have an
immediate need
to use such
features
as scientific
notation
and
trigonometric functions, may proceed directly to the chapter
on Advanced Calculations.
SUMMARY
1) Modes
-
The
SHARP PC·
1500
operates
in
one of three
diflerent
modes: RUIN, PROgram,
and
RESERVE.
Each
change in
mode causes a slightly
different
change
in internal
function,
analogous
to shifting
gears
in
a car.
The
RUN mode is for
calculations and
is the
mode
in which
you must "run"
(execute)
programs.
In
the PROgram mode, all writing
and
ed iting
(additions
and
corrections) of programs
is performed.
2) Calculations
-
SHARP
performs common arithmetic
calculations in
the
RUN
mode.
The
CL
(clearl key should
be
pressed before
each calculation
to
clear
the
results
of
a
previous
calcula·
tion. NOT
pressing the
Clear
key
between c.alculations allows a
series of
calculations utilizing
the result of the immediately
precceding
calculation.
24
Do not sale this PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents