Full stop.

You are allowed to have string arrays in a real "array" manner. Just do it like this:

Code:

var s_array [100];

//creates the string structures inside the array

var i;
while (i < 100) {
s_array[i] = str_create("#128");
i += 1;
}

//destroys the string structures of the array

var i;
string* sPnt_temp;
while (i < 100) {
sPnt_temp = s_array[i];
str_remove(sPnt_temp);
s_array[i] = 0;
i += 1;
}



and then you can use it like this:

Code:

str_cpy(s_array[5], "test123");
error(s_Array[5]); //returns "test123"



Last edited by HeelX; 12/23/06 10:14.