david123456l
MIS
I am building an ASCII-code generator that makes all possible combinations of 3 ASCII characters starting from char 33.
when I run the code, the second charactor stops at '<' that is character number 60, my for loops are correctly declared I think... explorer gives errors because it is possible that internet explorer will react slow while executing the script, but i always click 'no', so the script wont be aborted...
here is the code:
<script language="JavaScript"> <!--
function combination() {
var combination ='';
for(Ca=33;Ca<128;Ca++)
{
for(Cb=33;Cb<128;Cb++)
{
for(Cc=33;Cc<128;Cc++)
{
combination=(String.fromCharCode(Ca))+(String.fromCharCode(Cb))+(String.fromCharCode(Cc));
document.write(combination+'<br>');
}
}
}
}
//-->
</script>
can somebody please help me!..!..! ??
thnx in advance
PS: indeed English is not my motherlanguage, excuse me for the spelling and grammar mistakes
when I run the code, the second charactor stops at '<' that is character number 60, my for loops are correctly declared I think... explorer gives errors because it is possible that internet explorer will react slow while executing the script, but i always click 'no', so the script wont be aborted...
here is the code:
<script language="JavaScript"> <!--
function combination() {
var combination ='';
for(Ca=33;Ca<128;Ca++)
{
for(Cb=33;Cb<128;Cb++)
{
for(Cc=33;Cc<128;Cc++)
{
combination=(String.fromCharCode(Ca))+(String.fromCharCode(Cb))+(String.fromCharCode(Cc));
document.write(combination+'<br>');
}
}
}
}
//-->
</script>
can somebody please help me!..!..! ??
thnx in advance
PS: indeed English is not my motherlanguage, excuse me for the spelling and grammar mistakes
