IBM 5110 User Manual page 44

Apl
Table of Contents

Advertisement

To sort up to the first nine columns of a matrix with each row
representing a name:
\;.'
~:::;
D
F;~
T I::
IJ
::I
Xi'
\;.'
:.?:~··~::;DI~T
1...1:;;)T;
(:iI...F
1...1··/' >
71~)
I
..JENNY
,.Jf~N
I...
. ..JENNY
.
...If~N
LUCY
tlRCHIE
D()UI3I...f~S
BETH
f~I~CHIE
BETH
L~··BORT
I...
I...
D()UGLf~S
Jf~N
.JENNY
LUCY
LUCY
To find the location of a name in a list of names:
\lFIND[[]::I\I
V
Z~LIST
FIND NAME
I:: 1.:1
Z~··
( (LIBTA. :::: ( ...
1. t
(.>I...IST) tNf.",FI[) ) /
\:1.
t (.>I...18T
'V
I... FIND ',JAN'
To delete a name from a list of names:
V DE\",
I::
[]::I '\I
\I
Z~I...IST
DEL NAME
I:: 1. :1
Z
i·· (
(N
I...
1ST
A , :::: (
H .
:I.
t
p
I... I S T )
t
N
f~
rl E ) ) II... I S T
'V
I... DEI... ',.Jf.1N'
ARCHIE
BETH
DDUGLAS
,JENNY
LUCY
APL Language Elements
39

Advertisement

Table of Contents
loading

Table of Contents