EasyManuals Logo
Home>IBM>Laptop>5100

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 #72 background imageLoading...
Page #72 background image
68
The = Function: Equal To
[J
Monadic (One-Argument) Form
There
is
no
monadic form.
Dyadic (Two-Argument) Form: Equal To A=B
The equal to function result
is
1 when the value of argument A equals the value
of argument
B;
otherwise, the result
is
O.
The arguments (numeric or character)
can be scalars, vectors, or other arrays. The arguments must be the same shape,
unless one of the arguments
is
a scalar or any single-element array. Arguments
of the
same
shape
have
the same shape result:
0::::5
()
1,65~321=1,65~321
1
1::::
I A I
o
.'
A
I::::
'B'
o
':1.
':::::1.
o
:I.
o
o 0
If
one argument
is
a scalar or a single-element array, the shape of the result
is
the
same
as
that of the other argument. The single element
is
applied to every element
of the multielement array.
'A':'ABACADAEAFAG'
101
0
101
0 1 0 1 0
Note:
If
the arguments are numeric, the result of the = function depends on the
OCT
system variable (see Chapter 5 for information on the
OCT
system variable).

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
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals