I think that my title says it all. Well, if you don't get what I mean here's what I mean. Can I use for loops in switch statements like this:
Thank you for your precious time reading my post.Code:switch(somevariable){ for(var i=0;i<somevalue;i++;j=10;j<someothervalue;j++){ case i: alert(somearray[j]); break; } }



Reply With Quote


Bookmarks