⎕PFKEY & macOS

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...
Post Reply
dyallaz

⎕PFKEY & macOS

Post by dyallaz »

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.
User avatar
kai
Posts: 141
Joined: Thu Jun 18, 2009 5:10 pm
Location: Hillesheim / Germany

Re: ⎕PFKEY & macOS

Post by kai »

[]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.
dyallaz

Re: ⎕PFKEY & macOS

Post by dyallaz »

Thanks for the hint!
Post Reply