Storing 8x8 messages


    Mar 25 2013 | 11:07 am
    Hi,
    I have a grid of 8x8 values that I need to save. Each of these 64 positions will have 5 different numbers. I also want to easily change e.g. position x4/y3 with 5 new values.
    Which object should use? Do you have any suggestions?
    Thanks!

    • Mar 25 2013 | 11:43 am
      Hi flocked, have a look at jit.cellblock
    • Mar 25 2013 | 3:00 pm
      Jit.cellblock is really for two dimensional data. To manage an 8x8 matrix, each with five values, you would need a cellblock with 64 rows each with five columns - or five cellblocks. If you don't really need to view (all) the data in tabular form, its probably easier to have an 8x8 jit.matrix of dimension 5 with the data type that will suit your intended values (probably type char if all your values are integers 0-255). It is also possible to read and write to a file for storage etc...