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.
⎕PFKEY & macOS
Re: ⎕PFKEY & macOS
[]PFKEY works in the Windows development IDE only.
On the Mac you have to use Ride, and Ride does not support []PFKEY.
You can however associate certain actions with certain keystrokes in the Ride configuration.
On the Mac you have to use Ride, and Ride does not support []PFKEY.
You can however associate certain actions with certain keystrokes in the Ride configuration.