bugGNU APL - Bugs: bug #40667, Selective specification not working

 
 

bug #40667: Selective specification not working

Submitted by:  None
Submitted on:  Fri 22 Nov 2013 06:36:07 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 27 Jan 2014 04:19:05 PM UTC, comment #2:

Great, thanks for the quick fix!

Edgar <ausiaso>
Sun 24 Nov 2013 03:46:13 PM UTC, comment #1:

Hi,

You are correct. Thanks for reporting this.
Should be fixed in SVN 39 / 4590.

Jürgen Sauermann <j_sauermann>
Project Administrator
Fri 22 Nov 2013 06:36:07 AM UTC, original submission:

First of all, thanks for making the interpreter available. I had always been curious about APL, and you gave me the option to play around with it.

However, I've found that selective specifications using variables do not work. For instance, the following code gives a SYNTAX ERROR:

X ← ⍳10
IDX ← 3 6 9
X[IDX] ← 0
SYNTAX ERROR
X[IDX]←0
^ ^

My understanding is that, instead, this should make X become equal to
X
1 2 0 4 5 0 7 8 0 10

Is that right?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ausiaso (Posted a comment)
  • -unavailable- added by j_sauermann (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Nov 2013 03:46:13 PM UTCj_sauermannStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1