Does anyone know if its possible to add a variable into the row or column indices?
like this…
int $num = 200;
matrix $myM[6][$num] = add lots of stuuff to the 6 rows and the variable columns in the matrix
;
Does anyone know if its possible to add a variable into the row or column indices?
like this…
int $num = 200;
matrix $myM[6][$num] = add lots of stuuff to the 6 rows and the variable columns in the matrix
;
You have to define the size of the matrix in the declaration.
matrix $m[10][200];
int $b = 123;
$m[1][$b] = 3456;