bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Execute with ◊ sometimes fails with L ENGTH ERROR


From: Elias Mårtenson
Subject: [Bug-apl] Execute with ◊ sometimes fails with L ENGTH ERROR
Date: Tue, 25 Feb 2014 19:19:30 +0800

The following statement works:

      a←1 ◊ a←2 a ◊ a+2
4 3

However, passed as an argument to ⍎, it fails:

      ⍎'a←1 ◊ a←2 a ◊ a+2'
LENGTH ERROR
      a+2 a←2 a a←1
      ^^

If I change it slightly, it will not fail anymore, but I get the wrong result


      ⍎'a←1 ◊ a←2 a ◊ a'
 2 1 1  2 1 1 

Regards,
Elias

reply via email to

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