下のような所までできたのですが
分の付け方がわからないのです
秒と同じように入力させて……
までは大丈夫なのですが
3分から2分に
のような切り替えの方法がわからないのです
どなたか教えていただけないでしょうか
お願いします
*hajime cls title "タイマー" font msmincho,20,1 pos 210,100 mes"秒数を入力してください" time="" pos 218,150 input time,200,20 pos 285,173 button "開始",*start stop *start y=int(time) if (y>0) { repeat y+1 cls x=y-(cnt) font "MSゴシック",40,1 pos 308,190 mes x wait(100) cls font "MSゴシック",40,1 pos 278,190 mes"終了" pos 285,290 button "終了",*owari button "もう一度",*hajime loop stop } if (y=0){ dialog "入力された数値が0であるか、文字列です。",1 goto *hajime } *owari end