vL64 0 to 255 = 256


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script languague="javascript">
  2. var D1;
  3. var D2;
  4. var i;
  5. D1 = 79;
  6. D2= 65;
  7. i= 3;
  8. document.write("0=H<br>1=I<br>2=J<br>3=K<br>");
  9.  
  10. while (D2<=127)
  11. {
  12.  
  13. if (D1==83)
  14. {
  15. D1=79;
  16. D2 = D2 + 1;
  17. }
  18.  
  19. else
  20. {
  21. i = i+1;
  22. D1 = D1+1;
  23.  
  24. document.write(i + "="+ String.fromCharCode(D1)+String.fromCharCode(D2)+"<br>");
  25. }
  26.  
  27.  
  28.  
  29. }
  30.  
  31.  
  32. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.