⎕PFKEY & macOS

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

⎕PFKEY & macOS

Postby dyallaz on 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
│)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.
Posts: 2
Joined: Sat Feb 13, 2016 3:44 pm

Re: ⎕PFKEY & macOS

Postby kai on Sat Oct 28, 2017 3:03 pm

[]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.
User avatar
Posts: 88
Joined: Thu Jun 18, 2009 5:10 pm
Location: Stevenage, UK

Re: ⎕PFKEY & macOS

Postby dyallaz on Mon Oct 30, 2017 2:31 pm

Thanks for the hint!
Posts: 2
Joined: Sat Feb 13, 2016 3:44 pm

Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest