こんなのでどうでしょう? option strict ?"push a to start" repeat:vsync:until button(2) and #a t0=maincnt ?"push a to stop" repat:vsync:locate 0,:? format$("%.2f",(maincnt-t0)/60) until button(2) and #a ?