hi
i create "multidimensional arrays" by 3dgs manual but i have problem :

var add_all_arr[100][100];
function test_arr_func(i_var,j_var){
while(i_var<=10 && j_var <=10){
add_all_arr[i_var][j_var]=int(random(10));
if(i_var<10){i_var+=1;}//if i under 10 add 1 count
if(i_var==10 && j_var<10){j_var+=1;}//if i==10 and j under 10 add 1 count
wait(1);

}
}
on_l=test_arr_func;

when run i have this error messages "Syntax error - - missing semicolon? [j]=int(random(10))

in the manual instruction said light c but when i include #include <acknex.h>
#include <default.c>

problem is continue?!

thank's hosein_dig (fat32)

Last edited by fat32; 02/14/08 11:00.

dobidob hosein_dig and max_man7000 game

HAPPY NEW YEAR !!