There is a problem. It seems to only happen in Emacs mode. For example:
In GNU APL without Emacs mode:
)CLEAR
CLEAR WS
⍴''
0
0 0⍴''
⍴''
0
Now within Emacs mode:
)CLEAR
CLEAR WS
⍴''
0
0 0⍴''
⍴''
0 0
⍴,6
1
It is not just a display problem either. For example:
⎕LX←''
RANK ERROR
⎕LX←''
^ ^
The problem seems to be caused by two conditions:
1. run from with emacs mode
2. execute 0 0⍴''
Thanks.
Blake
On Mon, May 19, 2014 at 10:29 PM, Blake McBride <[email protected]> wrote:
> I updated to the latest SVN, and it now works fine. I was only a revision
> or two behind. One of two things are true.
>
> 1. I picked up a revision that was quickly corrected.
>
> 2. There is some combination of events that causes ⍴'' to be 0 0 after
> said events even after a )CLEAR.
>
> I can't reproduce it right now for some reason, but I'll keep trying.
> (Wish I kept what I had!!)
>
> Thanks.
>
> Blake
>
>
>
> On Mon, May 19, 2014 at 9:50 PM, Elias Mårtenson <[email protected]>wrote:
>
>> I was also trying to reproduce Blake's problem and it all looks good here.
>>
>> Regards,
>> Elias
>>
>>
>> On 20 May 2014 10:47, David B. Lamkins <[email protected]> wrote:
>>
>>> Hmm, not here:
>>>
>>> CLEAR WS
>>> x←''
>>> ⍴x
>>> 0
>>>
>>> As expected.
>>>
>>> This is:
>>>
>>> Welcome to GNU APL version 1.3 / 6705
>>>
>>> Are you building from sources? Perhaps a $ make clean all is in order...
>>>
>>>
>>> On Mon, 2014-05-19 at 21:21 -0500, Blake McBride wrote:
>>> >
>>> >
>>> > )CLEAR
>>> > CLEAR WS
>>> > x←''
>>> > ⍴x
>>> > 0 0
>>> >
>>> >
>>>
>>>
>>>
>>>
>>
>