Computer Science Canada adding to a 2d array |
Author: | skier [ Tue Nov 16, 2004 6:53 pm ] | ||
Post subject: | adding to a 2d array | ||
how do i add 1 to the 1..3 par to make it 1..4
the part that doesn't work is *** |
Author: | Mr. Glib [ Tue Nov 16, 2004 8:51 pm ] |
Post subject: | |
I don't believe Turing will allow for the complex multi-dimensional array reallocation as of yet. Can someone verify this? |
Author: | zylum [ Tue Nov 16, 2004 9:59 pm ] |
Post subject: | |
nope they dont |
Author: | Mazer [ Wed Nov 17, 2004 1:08 pm ] | ||
Post subject: | |||
Maybe I misunderstand...
A two dimensional array is just an array in which each element is another array. Changing the dimensions means adding another array to the end, or taking one off. Unless you are trying to change the size of the second arrays (that is, the ones inside the main array) in which case you Mr. Glib is right. Quote: Complex multi-dimensional flexible array reallocation not implemented yet - sorry. |