๐Ÿ’พ Archived View for blitter.com โ€บ apl-books โ€บ apl.maxhost.org โ€บ apl2.txt captured on 2022-07-16 at 17:21:14.

View Raw

More Information

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

IBM APL2 notes
--------------

assuming APL2/PC keyboard properties

shift '    )
shift k    '
shift p    *
shift m    ร
shift f    _
[          รป

ctrl backspace toggles apl keyboard support off and on

when apl keyboard support is on all letters are capitalized

click 16th tab over for keyboard properties

)in 'z:\home\cubeman\cube54.atf'

)load 1 display
)load 1 edit
)load 1 examples
)load 1 mathfns
)load 1 utility
)load 2 graphpak

)save 1 rubik     save rubik in workspace 1

)out rubik3       save rubik3 as atf

v รป 1 2 3 4 5
plot v
spiral

ยข1 * .5     square root of negative one, returns 0J1

vv รป 1 2 3
(a b c) รป vv
            splits a variable into 3 parts

function keys
-------------

F9          )clear

IBM APL2 supports nested variables and mixed variables
v รป 12 'abc'

apl2ls.pdf is the IBM Language Summary
apl2lrm.pdf is the APL2 Language Reference
apl2ug.pdf is the APL2 User's Guide

transliteration
---------------

{disclose}   ร˜
{represent}  รŒ
{iota}       ร‰

z รป insertfns 'ร'   store transliteration of apl code to ascii in z
z รป ascii2apl '{disclose}'
                    store transliteration of ascii to apl code in z

z รป tfread 'z:/home/cubeman/newcube.txt'
                    read text file newcube.txt and store it in z
y รป ascii2apl z     stores transliteration of asci to apl code in y
newcube รป definefns y
                    make newcube a function based on y

programs
--------

RUBIK.apl
L +left    l -left
R +right   r -right
U +up      u -up
D +down    d -down
F +front   f -front
B +back    b -back

FBRLFBRLFBRL = 4 diagonals

suffix by 1 = clockwise
suffix by 2 = anti-clockwise