配列を使ってリングバッファを作ります。 dim cmd[n] while 1 vsync 1 hantei(cmd) n= (n+1) mod n @loop