This unicode stuff in new j6 is really great.
I ported a boolean matrix visualizer that I wrote, ironically, for j7.
db=:(2$,:2 1) ((4 u: 32 9600 9604 9608) {~ #.@|.@,);.3 ]
Try it to view Ulam spiral
db 1 p: 1 + (-~ >./@,) |:@|.@((# + ]),. [EMAIL PROTECTED])^:80 i.1 1
or just checkerboard pattern
cb=:{. 0 1 $~ ] + 1 + 2&|
db cb 8 8
I know, viewmat can do that and more but there was no viewmat in j7 and it
will work under linux console, so ther must be value to it.
Is the topic of visualizing objects in text mode interests somebody?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm