VasanthVijay
11 years agoContributor
Reg:Array relate querry
sample example
var array = new array('0','1');
for(i = 0;i < array.length;i++)
{
switch()
{
case 0:
log.message('hi');
break;
case 1:
log.message("hello");
break;
default :
break;
}
}
i want out put of
hi and hello but only showing hi
how to fix this one.
thanks in advances
vasanth.v
var array = new array('0','1');
for(i = 0;i < array.length;i++)
{
switch()
{
case 0:
log.message('hi');
break;
case 1:
log.message("hello");
break;
default :
break;
}
}
i want out put of
hi and hello but only showing hi
how to fix this one.
thanks in advances
vasanth.v