bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Indexed assignment error for characters but not numbers


From: Blake McBride
Subject: [Bug-apl] Indexed assignment error for characters but not numbers
Date: Mon, 26 May 2014 16:01:04 -0500

      )CLEAR
CLEAR WS
      ⎕IO
1
      a←b←5 5⍴⍳25
      a[⍳5;]←b
      a←b←⍕a
      a
 1  2  3  4  5
 6  7  8  9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
      ⍴a
5 14
      a[⍳5;]←b
LENGTH ERROR
      a[⍳5;]←b
      ^      ^

Of course the numeric one is the correct one.

Blake


reply via email to

[Prev in Thread] Current Thread [Next in Thread]