Hello again

is it possible to make a dynamic array less dynamic?

int[][] array;

array[0].length = 10; //has to be set at runtime
writefln(array[1].length); // writes also 10

Because I now have to loop through the whole array to check for correct size.


also, can this be done?

int size;
size = 10; //runtime
void function( int[size][] array){}

thank you



Reply via email to