I want to use GRID with strings of characters instead of numbers, and
especially to change them. Is this possible?

I changed the settings (CELLFMT, CELLALIGN,...), but I always get errors
when I want to make changes. 
I take the example: <griddemo3.ijs>= Pass values to the grid using pack; 
and I modify the value of CELLDATA 
with CELLDATA =: (4 3 $ 'AAABBBCCCDDD') ;  4 3 $ 'EEEFFFGGGHHH'
This is the form that makes me a SELECT on a Microsoft base ACCESS.

If I replace "FFF" by "ZZZ"
>>> not a number : ZZZ <<<

If I replace "FFF" by "123"
>>>error in : gdemo_grid_char   
domain error: grid_gridhandler__locP
old=.0j2   ":readcell__gridloc  Cell_gridloc<<<

If I reset and do 
load 'grid'
 (,:'CELLEDIT';1) grid (4 3$'AAABBBCCCDDD') ; 4 3 $ 'EEEFFFGGGHHH'

If I replace "FFF" by "ZZZ"
>>> not a number : ZZZ <<<

If I replace "FFF" by "123"
>>> error in : gridp_grid_char
Index error: writeblock
CELLDATA=: new ndx}CELLDATA<<<

I think I do not understand the whole documentation because I am french, 
and I apologize my English.
What should be the correct settings?

Thank you for information.
BV


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to