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│jzgrid│z│
└─┴────┴─┴────┴────┴──────┴─┘
   (1 2 $ 'CELLEDIT';1) grid i. 5 5
   conl ''
┌─┬─┬─┬────┬─┬────┬────┬──────┬─┐
│0│1│2│base│j│jgl2│jijs│jzgrid│z│
└─┴─┴─┴────┴─┴────┴────┴──────┴─┘
   load'coutil'
   cofind'CELLDATA'
┌─┬─┬──────┐
│1│2│jzgrid│
└─┴─┴──────┘
   CELLDATA_1_
 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_2_
 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│jzgrid│z│
└─┴────┴─┴────┴────┴──────┴─┘
   cofind'CELLDATA'
┌──────┐
│jzgrid│
└──────┘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to