string array

admin

Administrator
Staff member
Could some one tell me how to initialise a string array so that the code is the opposite to this one

var ones_numerals = new Array();
ones_numerals[0] = "";
ones_numerals[1] = "I";
ones_numerals[2] = "II";
ones_numerals[3] = "III";


i need the array so that when the I, II or III are used it will give the equivalent number which is the opposite to what the code above does!!

cheers

appreciated!!
 
Top