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 #103 background imageLoading...
Page #103 background image
(
(/
('
c
The T Function: Encode (Representation) m
Monadic Form
There
is
no monad
ic
form.
Dyadic Form: Encode
AT
B
This function
is
the
reverse
of
the
decode function. The encode function result
is
the representation
of
argument B
in
the
number system specified by argument A.
Note:
Be
sure argument A
is
long enough
to
completely represent argument B
or
an incorrect answer results.
For example, the representation
of
1776
in
the
decimal number system (base 10):
10
10 10
10r1776
:I.
7
7.6
The following illustration shows how it was done:
Argument A (number system) specifies
the
following:
10 10 10 10
tL._--'-t_--'t
_____
tL.....
___
Ten units
in
each
of
these positions
Argument B 'has this value:
1776
equals
one
unit
of
the
next
position
to
the
left.
99

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