Invoking two dimensional arrays

I am trying to create a two dimensional array in AS2. It should have two values like name and roll no. and stored in such a manner that they can be traced out and also the corresponding values should be together.

as of now I am using…
myArray1.push({name1:inpName,roll:inpRoll});

trace(myArray1);

not working…please advise