[HELP] to convert Array

  • Thread starter Thread starter Salar Music
  • Start date Start date
S

Salar Music

Guest
hi guys..

i have array in JS ( Java scrpit )

and i need convert it to VB.NET


var arms=[
["01.png",35,0],["02.png",18,0],
["03.png",20,0],["04.png",11,0],
["05.png",6,0],["06.png",9,0],
["07.png",8,0],["08.png",10,0],
["09.png",0,0],["10.png",0,7],
["11.png",6,0],["12.png",1,0],
["13.png",0,4],["14.png",7,0],
["15.png",9,0],["16.png",0,6],
["17.png",3,0],["18.png",16,0],
["19.png",10,0],["20.png",15,0],
["21.png",16,0],["22.png",14,0],
["23.png",6,0],["24.png",4,0],
["25.png",5,0],["26.png",0,25],
["27.png",0,0],["28.png",0,0],
["29.png",22,0],["30.png",0,15],
["31.png",2,0],["32.png",9,0],
["33.png",0,2],["34.png",13,0],
["35.png",25,0],["36.png",0,10],
["37.png",3,0],["38.png",0,8],
["39.png",0,1],["40.png",19,0],
["41.png",0,7],["42.png",0,4],
["43.png",6,0],["44.png",0,10],
["45.png",0,0],["46.png",0,6],
["47.png",0,9],["48.png",0,3],
["49.png",0,4],["50.png",2,0],
["51.png",0,2],["52.png",4,0],
["53.png",3,0],["54.png",2,0],
["55.png",3,0],["56.png",0,9],
["57.png",6,0],["58.png",0,4],
["59.png",7,0],["60.png",0,1]
];


also convert this functions


function shuffle(a)
{
for(var b=a.length,c,d;0!==b;)
d=Math.floor(Math.random()*b),b-=1,c=a,a=a[d],a[d]=c;
return a
}

// x is the clicked button id
function btnClick(x) {
return setGo(Number(x.substring(3,6))-1)
};

Continue reading...
 

Similar threads

O
Replies
0
Views
117
old_School
O
Back
Top