Philip A. Viton wrote:
Yes, but I thought the grid verb was supposed to "just work" without
explicitly setting up a locale, ie run from locale 'base'. Here's a
complete session:
load 'grid'
conl ''
+---------------------------+
¦0¦base¦j¦jgl2¦jijs¦jzgrid¦z¦
+---------------------------+
(1 2 $ 'CELLEDIT';1) grid i. 5 5
[at this point I shut down the grid]
conl ''
+---------------------------+
¦0¦base¦j¦jgl2¦jijs¦jzgrid¦z¦
+---------------------------+
CELLDATA
|value error: CELLDATA
cocurrent 'jzgrid'
$CELLDATA
0 0
cocurrent 'base'
What am I doing wrong?
------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[EMAIL PROTECTED]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
Closing the grid:
load 'grid'
conl ''
+-+----+-+----+----+------+------+-+
|0|base|j|jgl2|jijs|jsgrid|jzgrid|z|
+-+----+-+----+----+------+------+-+
(1 2 $ 'CELLEDIT';1) grid i. 5 5
conl ''
+-+-+-+----+-+----+----+------+------+-+
|0|3|4|base|j|jgl2|jijs|jsgrid|jzgrid|z|
+-+-+-+----+-+----+----+------+------+-+
load'coutil'
cofind'CELLDATA'
+-+-+------+
|3|4|jzgrid|
+-+-+------+
CELLDATA_3_
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
CELLDATA_4_
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
(Close Grid)
conl ''
+-+----+-+----+----+------+------+-+
|0|base|j|jgl2|jijs|jsgrid|jzgrid|z|
+-+----+-+----+----+------+------+-+
cofind'CELLDATA'
+------+
|jzgrid|
+------+
--
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm