¤³¤ó¤Ê´¶¤¸¤Î¥×¥í¥°¥é¥à¤Ç¼Â¸½½ÐÍè¤Þ¤¹¤è¡£
Wait¤¬²¿¸Î£²¤Ä¤¢¤ë¤Î¤«¤È¤¤¤¦¤È¡¢
getkey key,39
wait 10;¢«¤³¤³¤Î»þÅÀ¤Ç¥¡¼¤¬²¡¤µ¤ì¤Æ¤âÈ¿±þ¤·¤Ê¤¤¡¢
¡¡¡¡¡¡ ;¤³¤Î»þÅÀ¤À¤È¥¡¼¤¬²¡¤µ¤ì¤Æ¤«¤é¥«¥¦¥ó¥È¤¹¤ë¤Î¤Ë0.1ÉÃÂÔ¤¿¤µ¤ì¤ë
¤½¤ì¤Ë¤è¤ê¡¢Ï¢ÂǤ·¤¿¾ì¹ç¤ËÏ¢ÂǤ·¤Ë¤¯¤¤¤È¤¤¤¦»ö¤¬µ¯¤³¤ê¤Þ¤¹¡£
Î㤨¤Ð¡¢
if key=1{
}
Ãæ(Æâ)¤Îwait¤ò¾Ã¤·¤Æ¡¢loop¾å¤Îwait 0¤òwait 10¤Ë¤·¤¿¾ì¹ç¡¢
Ï¢ÂǤ·¤¿»þ¤Î¿ô»ú¤Î¾å¾ºÂ®ÅÙ¤¬ÃÙ¤¯´¶¤¸¤ë¤È»×¤¤¤Þ¤¹¡£¡ÊÏ¢ÂǤ·¤Ë¤¯¤¤¡£¡Ë
¤Á¤Ê¤ß¤Ëloop¾å¤Îwait 0¤ò¾Ã¤¹¤È¤³¤Î¥½¥Õ¥È¤¬¥Õ¥ê¡¼¥º¤·¤Þ¤¹¡£
;¡á¡á¡á¥½¡¼¥¹¤Ï²¼µ¡á¡á¡á
repeat
getkey key,39;[¢ª]¥¡¼¤¬²¡¤µ¤ì¤¿¤éKey¤Ë1¤¬Æþ¤ë
if key=1{
m++;m¤Ë1¤ò¤¹¡£m+1¤ÈƱ¤¸¤Ç¤¹¡£
if m>=0 && m\100=0 : km++
;m¤¬0¤è¤êÂ礤¯¡¢m¤¬100¤Ç³ä¤êÀÚ¤ì¤ë»þ¤Ëkm¤Ë1¤ò¤¹
wait 10;Ìó0.1ÉÃÂÔ¤Ä
redraw 2
color 255,255,255:boxf;²èÌÌ¥¯¥ê¥¢
pos 0,0 : color 0,0,0
mes str(m)+"m";""+m+"m"¤ÈƱ¤¸¤Ç¤¹¡£
mes str(km)+"Ò";""+km+"Ò"¤ÈƱ¤¸¤Ç¤¹¡£
redraw 1
}
if cnt=0{
;¥ë¡¼¥×²ó¿ô¤¬0²óÌܤλþ¤Î¤ßÉÁ²è¤¹¤ë
redraw 2
pos 0,0 : color 0,0,0
mes str(m)+"m";""+m+"m"¤ÈƱ¤¸¤Ç¤¹¡£
mes str(km)+"Ò";""+km+"Ò"¤ÈƱ¤¸¤Ç¤¹¡£
redraw 1
}
wait 0;¥Õ¥ê¡¼¥ºËɻߤκÇû»þ´Ö¤ÎWait
loop