Notice that the first time the {{ is executed, all is well, but then system
fails.
Can others reproduce/fix this?
Below is my "script".****************
JVERSION
]table =: a.{~65+i. 16
]atable =: a.{~97+i. 16
w =. _2]\4{.atable
i =. _3]\9{.table
{i."0$i
{{i."0$i NB. no failure **********
($w),;._3{{i."0$i
($w)(,;._3) i
{i."0$i
{{i."0$i NB. failure **********
Below is my jconsole session.****************
Last login: Sun Feb 17 12:32:37 on ttys000
server:~ brian$ /Users/brian/j64-807/bin/jconsole ; exit;
JVERSION
Engine: j807/j64/darwin
Beta-f: commercial/2018-06-28T12:14:57
Library: 8.07.16
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/brian/j64-807
Contact: www.jsoftware.com
]table =: a.{~65+i. 16
ABCDEFGHIJKLMNOP
]atable =: a.{~97+i. 16
abcdefghijklmnop
w =. _2]\4{.atable
i =. _3]\9{.table
{i."0$i
┌─────┬─────┐
│0 1 2│0 1 2│
└─────┴─────┘
{{i."0$i
┌───┬───┬───┐
│0 0│0 1│0 2│
├───┼───┼───┤
│1 0│1 1│1 2│
├───┼───┼───┤
│2 0│2 1│2 2│
└───┴───┴───┘
($w),;._3{{i."0$i
┌───┬───┬───┬───┐
│0 0│0 1│1 0│1 1│
├───┼───┼───┼───┤
│0 1│0 2│1 1│1 2│
└───┴───┴───┴───┘
┌───┬───┬───┬───┐
│1 0│1 1│2 0│2 1│
├───┼───┼───┼───┤
│1 1│1 2│2 1│2 2│
└───┴───┴───┴───┘
($w)(,;._3) i
ABDE
BCEF
DEGH
EFHI
{i."0$i
┌─────┬─────┐
│0 1 2│0 1 2│
└─────┴─────┘
{{i."0$i
Segmentation fault: 11
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
--
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm