Hi,
Is it possible to pass an array to another functions?
I have my array:
which i then try to pass to another function :HTML Code:var arraySub = newArray(); arraySub[0] = "Dave"; arraySub[1] = "Bob"; arraySub[2] = "Henry";
However the function doesn't seem to recognise the array :HTML Code:changeSub(2, Level,arraySub)
Can anyone see if i am doing anything wrongHTML Code:alert(arraySub[0]);





Bookmarks