hello everybody,
is there a way of creating an array with help of a function that would
accept the name of this array as a parameter and then create global
Array type variable of that name?
so that for example the following code would work as well in browsers as
under Windows Scripting Host:
str = "tableA";
fDoArray(str);
fDoArray("table B");
tableA[10] = 10;
tableB[11] = 11;
I would appreciate any suggestions and help,
regards,
mirek
is there a way of creating an array with help of a function that would
accept the name of this array as a parameter and then create global
Array type variable of that name?
so that for example the following code would work as well in browsers as
under Windows Scripting Host:
str = "tableA";
fDoArray(str);
fDoArray("table B");
tableA[10] = 10;
tableB[11] = 11;
I would appreciate any suggestions and help,
regards,
mirek
Comment