surprise can't read one dimensional array

Started by Gisli Gissurarson on 12-May-2012/11:25:33-7:00
R E B O L [MY TEST] xxdata: array/initial 6 0 j: 2 probe xxdata/j The above doesn't work, what am I doing wrong?
Try using one of the following: xxdata/:j xxdata/(j) pick xxdata j xxdata/j ;this tries to find J word in xxdata block: xxdata: [1 2 j 4 5] >> xxdata/j == 4
xxdata/:J is the most common way >> xxdata: array/initial 6 0 == [0 0 0 0 0 0] >> j: 2 == 2 >> xxdata/:j == 0

Reply