Yes, but what's the common theme? :-)
(0,.i.2 10)is inplaceable.
u"1 executing on that will be executed with each cell being inplaceable
also.
So (}.-}:) is executed on inplaceable arguments.
The execution of }: should be NOT inplaceable because the argument will
be needed for the other part of the fork. It should produce a virtual
block pointing into the cell, which should make the cell non-inplaceable.
}. should then be executed on a non-inplaceable block, producing a new
block, and - should inplace into that block.
That's not happening. I'll look at it tomorrow.
Henry Rich
On 1/10/2019 8:33 PM, RICHARD VAUGHAN wrote:
Some further variations:
(}.-}:)"1 (0,.i.2 10)
0 1 1 2 2 3 3 4 4 5
10 1 11 2 12 3 13 4 14 5
(}.-}:)"1 (0,.i.2 5)
0 1 1 2 2
5 1 6 2 7
(}.-}:)"1 (0,.i.2 4)
0 1 1 2
4 1 5 2
(}.-}:)"1 (0,.i.2 3)
0 1 1
3 1 4
(}."1 - }:"1)0,.i.2 10
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
(}.-}:)&.|: 0,.i.2 10
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
(}.-}:)"1 ] 0,.i.2 10
0 1 1 2 2 3 3 4 4 5
10 1 11 2 12 3 13 4 14 5
(}.-}:)"1 i.2 10
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1
But under J806:
(}.-}:)"1 (0,.i.2 10)
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
(}.-}:)"1 (0,.i.2 5)
0 1 1 1 1
5 1 1 1 1
(}.-}:)"1 (0,.i.2 4)
0 1 1 1
4 1 1 1
(}.-}:)"1 (0,.i.2 3)
0 1 1
3 1 1
(}."1 - }:"1)0,.i.2 10
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
(}.-}:)&.|: 0,.i.2 10
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
(}.-}:)"1 ] 0,.i.2 10
0 1 1 1 1 1 1 1 1 1
10 1 1 1 1 1 1 1 1 1
Everything works normally. I am using the "All in One" Windows install under
Windows 10.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm