EasyManuals Logo

IBM 5100 Apl Reference Manual

IBM 5100
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #34 background imageLoading...
Page #34 background image
Chapter 3. Data
30
VARIABLES
You
can store
data
in
the
5100
by
assigning it
to
a variable name. These
stored
items are called variables. Whenever
the
variable name
is
used, APL supplies
the
data
associated with
that
name. A variable
name
can be
up
to
77
characters in
length with no blanks;
the
first
character
must be
alphabetic
and
the
remaining
characters can be
any
combination
of
alphabetic
and numeric characters. Variable
names longer
than
77
characters can
be
used,
but
only
the
first
77
characters are
significant
to
APL.
The
+-
(assignment arrow)
is
used
to
assign
data
to
a variable:
LENGTHi··6
WIDTl-lfo8
AREA~LENGTHxWIDTH
To
display
the
value
of
a variable,
enter
just
the
variable name:
LENGTH
6
WIDTH
8
I~I~EA
4B
DATA
REPRESENTATION
Numbers
The
decimal digits 0
through
9
and
the
decimal
point
are used
in
the
usual way.
The
character
- , called
the
negative sign,
is
used
to
denote
negative numbers. It appears
as
the
leftmost
character
in
the
representation
of
any
number
whose value
is
less
than
zero:
O-lJ.
The
negative sign,
-,
is
distinct
from
- (the symbol used
to
denote
subtraction)
and
can
be
used
only
as
part
of
the
numeric
constant.

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals