Hey guys, here's my issue:
function Resize(ar : Object[], tType : System.Type, iSize : int) : Object[]
{
ar = new tType[iSize];//Compiler Error: BCE0018: The name 'tType' does not denote a valid type ('not found').
return ar;
}
Clearly the body of the function is not properly written, but what would I need to do to have the desired result happen? "new Type[]"? I'm using Javascript.