>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: APL+Win abnormal termination
brent.hildebrand
APL+Win abnormal termination
Posted: Thursday, November 11, 2004 10:13 PM (EST)

To Bill, Mark and Marvin....

 

Here is a little code snipet that will cause APL to close.

 

½–(4×a)½"'a' "

 

For my current situation,  setting a to 23508 will cause APL+Win v5.2.05 to fail.  23507 does not.  The number is higher in v4.0.03, around 29000.  V4 will however also fail if a is high enough.  I'm not sure if 23508 is a hard number for v5.2.05, or just a number for my current setup.

 

Motivation for the above code.  The below construct is true:

 

'a' 'b' 'c' ­ 'abc'

 

Note, there is a Match character between the 'c' and 'abc', and Match does not appear for me in IE6SP2.

 

The above is true, but there is a difference that is detectable in the interpreter.  Here is a program which I believe was talked about on the comp.lang.apl news group, which can differenciate the above vectors.

 

    ’ ret„IsNested arg;tmp
[1]   :if (Œdr arg)¹326 807 ª ret„1
[2]   :elseif 82=Œdr arg
[3]       tmp„(½arg)½'*'
[4]       :if =/Œsize 'arg tmp' ª ret„0
[5]       :else ª ret„1
[6]       :end
[7]   :end
    ’

 

Sample runs:

 

      IsNested 'abc'
0
      IsNested 'a' 'b' 'c'
1

 

I was running a test to see if the above would remain true for multiple elements, and indeed it holds up to 23507 elements.  The Interpreter fails on the 23508th element. 

 

Truly,  the function IsNested is actually returning an invalid result because indeed,  the two vectors are identical.  But in some situations, I have liked being able to detect how the vector was entered.  That is,  'a' 'b' 'c' vs 'abc', even though I should not!   In all situations I have tested,  IsNested works, up to the point of Interpreter failure.  Enjoy!

 


Comments:

Author Thread:
Support
APL+Win abnormal termination
Posted: Monday, November 15, 2004 2:53 PM (EST)
Your problem with the Execute function in APL+Win is a known bug.

APL2000 Support

     

Rex.Swain
APL+Win abnormal termination
Posted: Tuesday, November 16, 2004 9:47 AM (EST)

This bug may be known to APL2000, but not to the rest of us! 

 

Here is yet another case of a customer running into a bug, spending quite a bit of time to isolate and write it up, only to learn that it was a known problem. 

 

When will APL2000 publish a list of known bugs?!?

 

I had an email exchange with Fred five months ago about this:

 

Subject: RE: Known Bugs
Date: Fri, 11 Jun 2004 15:52:17 -0400
From: "Fred Waid" <fred.waid@apl2000.com>
To: "Rex Swain" <
rex@rexswain.com>
Rex,
 
I was talking to the guys about this, and as you might imagine over the last 30 years we have a bug/errata list which we need to go through and try to determine what are bugs which are likely to impact a user and those which are rather more errata.
 
Also, our goal with the APLDN is to get as many new bugs as possible logged through this process, so that it is available to everyone and also searchable.
 
So, the combination of our getting a bug list published and also the bug reporting through the APLDN we should have this solved fairly soon.
 
Fred

 

Would you please consider making the publication of a bug list a high priority?

     

davin.church
APL+Win abnormal termination
Posted: Tuesday, November 23, 2004 10:31 PM (EST)
I know that publishing a bug list is considerably more complicated than it would seem at first glance, but has APL2000 given any further consideration to the above request?  I frequently find myself with an abberation that I can't explain and I hate having to spend a lot of time building a simplified test case only to learn that it's a known problem.  Even if we just had a vague list available, then if we thought we'd run into one of them we could ask to see if our situation matched in more detail.

     



APL2000 Official Web Site

You must be the change you wish to see in the world.
--- Mahatma Ghandi

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |