⎕PFKEY & macOS
Posted: Fri Oct 27, 2017 8:02 pm
Trying to programm a programmable function key, in a DyalogAPL 16 session on macOS 10.13, I type
(')load "',F_ROOT,F_PATH,'ws/FIRST"')⎕PFKEY 2
⎕PFKEY 2
┌→──────────────────────────────┐
│)load "/Volumes/Macintosh HD/Users/andrew/DyalogAPL/ws/FIRST"│
└───────────────────────────────┘
Looks OK. But nothing happens when I push the F2 button on my keyboard. What did I wrong?
Strangely, the command ' ' ⎕PFKEY 6 works effectively. F6 moves the cursor 6 places to the right in the session input line. Coming from APLX I am really puzzled by the Dyalog programming environment.
(')load "',F_ROOT,F_PATH,'ws/FIRST"')⎕PFKEY 2
⎕PFKEY 2
┌→──────────────────────────────┐
│)load "/Volumes/Macintosh HD/Users/andrew/DyalogAPL/ws/FIRST"│
└───────────────────────────────┘
Looks OK. But nothing happens when I push the F2 button on my keyboard. What did I wrong?
Strangely, the command ' ' ⎕PFKEY 6 works effectively. F6 moves the cursor 6 places to the right in the session input line. Coming from APLX I am really puzzled by the Dyalog programming environment.