Comment author:viny
06 April 2011 07:50:19AM
0 points
[-]
Not sure what all being said above, but cant it be done in just a simple way like
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fireup(i) {
alert(i);
i=i+1;
if(i>10) {
return false;
}else{
fireup(i);
}
}
// End -->
</script>
I accept, one gets good set of logics from a good and sound education, but i have to say that in field programing a lot of time experience helps to get simple and straight forward solution for your requirements. Optimization can follow on.
No.
Not sure what all being said above, but cant it be done in just a simple way like
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function fireup(i) { alert(i); i=i+1; if(i>10) { return false; }else{ fireup(i); }
} // End --> </script>
I accept, one gets good set of logics from a good and sound education, but i have to say that in field programing a lot of time experience helps to get simple and straight forward solution for your requirements. Optimization can follow on.