May I point out that ]/\ is not a verb that sees much use.
Henry Rich
On 5/16/2011 7:07 PM, Eric Iverson wrote:
> I can reliably reproduce the problem. We will take a look at it. The
> bug has been with us for a long time and it may be a while before it
> is fixed.
>
> The simplest way to see the bug is to load the following script and
> then display bb. Changing anything hides the bug.
>
> *** bad.ijs
> bb=: 2 ]/\ i. 10
> bx=: 2 ] \ i. 10
> (":bx) 1!:2[2
> ***
>
> Thanks for your persistence in reporting this problem.
>
> On Mon, May 16, 2011 at 5:48 PM, Arthur Anger<[email protected]> wrote:
>> On Sun, 15 May 2011 10:34:16 -0400, Eric Iverson<[email protected]>
>> wrote:
>> . . .
>>> The simplest demonstration of the bug starting with a clean J session
>>> would help. bdysegs probably means something to those who have been
>>> following closely, but it would be far better to have the complete set
>>> of simple statements in a clean start (jconsole if possible) that show
>>> the bug.
>> . . .
>> ----------------
>> The simple demonstration I have now found points to two conditions:
>> --use of ]/\
>> --execution during load
>>
>> The script:
>> smoutput 'Redisplay bb and bx after load.'
>> smoutput 'bb: ', ": bb=: 2 ]/\ i. 10
>> smoutput 'bx: ', ": bx=: 2 ] \ i. 10
>>
>> The console log:
>> Last login: Mon May 16 09:47:14 on ttys000
>> /Applications/j701/bin/jconsole ; exit;
>> AAMac:~ Anger$ /Applications/j701/bin/jconsole ; exit;
>> ] bb=: 2 ]/\ i. 10
>> 1 2 3 4 5 6 7 8 9
>> bb
>> 1 2 3 4 5 6 7 8 9
>> smoutput bb
>> 1 2 3 4 5 6 7 8 9
>> load '/Users/Anger/j602-user/bad2.ijs'
>> Redisplay bb and bx after load.
>> bb: 1 2 3 4 5 6 7 8 9
>> bx:
>> 0 1
>> 1 2
>> 2 3
>> 3 4
>> 4 5
>> 5 6
>> 6 7
>> 7 8
>> 8 9
>> bb
>> 1 825303088 540160544 874525491 892674100 540423712 941635383 3743800 0
>> bx
>> 0 1
>> 1 2
>> 2 3
>> 3 4
>> 4 5
>> 5 6
>> 6 7
>> 7 8
>> 8 9
>> ---------------
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm