IBM 5110 User Manual page 42

Apl
Table of Contents

Advertisement

To list each variable and associated value in the active workspace:
VI...ISTVf.}HB[[]::IV
V LISTVARS;ALF;VAR;I;R;[]IO
[ l ]
[2]
[3]
fl
TH I S
FUNCT
I ON I... I BT
THE Vf.l
F~~~
I BLES I
N
THE
~~CT
I
VE
~..ID
F<K SPACE,
[]I(]~:I.
1:
1
+
::I
I::
~.:;]
[6]
[7]
[B]
[9]
[1.0]
[:1.:1. ]
[:1.2]
V
I~ ~
.. : 1 . t
(.>
V
f. }
F~ ~
.. [] N
I. . .
2
AI...F~'
ABCDEFGHIJKI...MNOPQRSTUVWXYZA'
ALF~ALF,
'ABCDEFGHIJKLMNOPQRSTUVWXYZA'
AI...F~MALF
I
O·f~~:~~i:i:~::~6:7Ej(j···""""""""""-·M'"''''''''''''''''''''''''''
.......... ..
VAR~VAR['661ALF\~VAR;]
I
~
..
o
1...00 P : ..
~
( R -::
I~"
I + 1. ) /0
2 :I. (.)'
.+.
[]~
...
'/V~~R[I;]
..
~I...O()
P
LISTVARS
A
:1.020 ::50
1+0
~7jO
60
B
:1.1
::~2
:33
1.1· LI·
~.:; ~:.:.i
66
The ATTN key was pressed before
AAA
workspace were listed.
C
/ a l l the variables in the active
B
l...ISTVARS[:I.2::1
To field-protect high-order digits:
VPI~OT[[]]V
'iJ
Z~N
PROT
V
I:: :I. ::I
Z
~
.. (-... N ) t ( (N
H<~
)
P ,
.)1: • )
I
V
V
:1.
0 P
F~OT
':I.
2~~
,
L~~.:;
,
')H(' ')Hf
1. 2
~'5
, 4
~5
APL Language Elements
37

Advertisement

Table of Contents
loading

Table of Contents