💾 Archived View for blitter.com › apl-books › apl.maxhost.org › altair-apl.txt captured on 2023-01-29 at 21:21:03.

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

Notes on apl/z
--------------

cpm-apl.sh     invokes simh to run with apl/z

b:
type apl.doc   display some comments on apl/z
type apl.not   display the manual for apl/z

apl            run apl/z

)off           exit apl/z
)origin 1      set origin to 1
)width 80      sets characters per line to 80 (default is 120)
)vars          list all variables 

I5             returns interval, e.g. 1 2 3 4 5
+/ I5          sums the numbers 1 to 5
8^2            returns 8 to the power of 2, e.g. 64
8*2            returns 8 time 2, e.g. 16
4%10           returns .4 (4 divided by 10)
O1             returns pi times 1

v ` 1 2 3 4 5  assign v 1 2 3 4 5

6.22 * 2       returns 12.44
_3 + 5         returns 2

replacement characters
----------------------

R for rho
E for epsilon
Y for take (up arrow)
U for drop (down arrow)
D for ceiling
S for floor
L for quad