cls(); var x; var y; var flag; var key; x = 0; y = 0; flag = 0; while(1){ key = inkey(); if(key == 117){ flag = 0; } if(key == 100){ flag = 1; } if(key == 99){ break; } if(flag == 0){ lc(x ,y); log("-"); } if(flag == 1){ lc(x, y); log("_"); } x = x + 1; if(x >= 31){ x = 0; y = y + 1; } if(y >= 23){ y = 0; } sleep(50); } cls(); lc(12, 11); log("CLEAR!")