Page 1 of 1

Extend Selective Assignment

PostPosted: January 22nd, 2014, 12:32 pm
by Eric.Lescasse
Hi,

Since you have started to add very useful enhancements to the APL interpreter (new primitives, enhanced catenation, ... [thanks very much for all that]), it would be very nice if you could extend Selective Assignment in a future version of APL+Win, to allow using: Each, Disclose, First (Each being the most important and useful one of course).

Examples: Currently we get NONCE ERRORs for the following kinds of expressions:

Code: Select all
      aaa←⍳¨6 7 8
      (4↑¨aaa)←4⍴¨10 20 30
NONCE ERROR
      (4↑¨aaa)←4⍴¨10 20 30
        ^
      (↑aaa)←10×⍳6
NONCE ERROR
      (↑aaa)←10×⍳6
       ^
      (⊃aaa)←3 8⍴⍳100
NONCE ERROR
      (⊃aaa)←3 8⍴⍳100
       ^


This could allow us to simplify a lot of code.