switch (current_second) { case 1: //if current_second = 1 draw_text(16,16,"the current second is 1"); break; case 2: //if current_second = 2 draw_text(16,16,"the current second is 2"); break; //etc... }