Sorry, my J engine is 7.01:
9!:14''
j701/beta/2010-11-24/22:45
Henry Rich
On 5/16/2011 6:14 PM, Henry Rich wrote:
> I have cut this down to the following:
>
> smoutput>: ] , 1000> | b =: 2 ]/\ 0 1 2 { 3 2$ 0 4 0 2 2 2
> smoutput b
>
> On my machine (J602) this produces the output
> 2 2 2 2
> 0 0
> 2147483647 2147483647
>
> If you get rid of anything, it doesn't produce the obvious error. I
> have no idea where the corruption occurs.
>
> Henry Rich
>
>
> On 5/16/2011 5:48 PM, Arthur Anger 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