Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2017/09/13 10:51:03

MixJuice GET URL : kidspod.club/mj/295

文字コード

  • No registered tag exist.

SOURCE CODE

lc(1,0); 
log("0");
lc(2,0); 
log("1");
lc(3,0); 
log("2");
lc(4,0); 
log("3");
lc(5,0); 
log("4");
lc(6,0); 
log("5");
lc(7,0); 
log("6");
lc(8,0); 
log("7");
lc(9,0); 
log("8");
lc(10,0); 
log("9");
lc(11,0); 
log("A");
lc(12,0); 
log("B");
lc(13,0); 
log("C");
lc(14,0); 
log("D");
lc(15,0); 
log("E");
lc(16,0); 
log("F");

lc(0,1); 
log("0");
lc(0,2); 
log("1");
lc(0,3); 
log("2");
lc(0,4); 
log("3");
lc(0,5); 
log("4");
lc(0,6); 
log("5");
lc(0,7); 
log("6");
lc(0,8); 
log("7");
lc(0,9); 
log("8");
lc(0,10); 
log("9");
lc(0,11); 
log("A");
lc(0,12); 
log("B");
lc(0,13); 
log("C");
lc(0,14); 
log("D");
lc(0,15); 
log("E");
lc(0,16); 
log("F");

var i = 0;
var x = 1;
var y = 1;
while(i <= 255){
 if(x > 16){
  x = 1;
  y = y + 1;
 }
 lc(x,y);
 log(chr(i));
 x = x + 1;
 i = i + 1;
}

COMMENT