(ネタバレ)
ソースコード
リストボックスの変数が変わって、別のラベルに移動するときに、
clr1c=255 clr1p=300 ver="1.0.1 β1 Apple" screen 0,750,520 width 720,520 font "MS UI Gothic", 14, 1 objmode 2 objsize 150 pos 0,26 listbox a, 52, "タイトル\n時計\nストップウォッチ\nタイマー" repeat redraw 0 color 255,255,255 boxf title "MituT21 [Ver:"+ver+"] color 0,0,0 boxf 0,0,750,25 color 255,255,255 font "Yu gothic UI",20,2 pos 0,-5 mes "Mitu Factory " pos 120,-4 font "Yu gothic UI",20 mes "MituT21" pos 610,-1 font "メイリオ",20 Titletime= strf("%02d",gettime(4)) +":"+ strf("%02d",gettime(5)) +":"+ strf("%02d",gettime(6)) +"."+ strf("%03d",gettime(7)) mes Titletime pos 300,100 color clr1c,clr1c,clr1c font "Yu gothic UI",50 mes "ようこそ" clr1c-3 if clr1c<=0 :clr1c=0 pos 250,200 font "Yu gothic UI",20 mes "Mitu Factory - Mitumitu2016" pos 254,230 mes "MituT21 (MitumituTimer21)" pos 210,260 mes {"Last Update ""}+ver+{"" 16/12/09"} if a=1 or a=2 or a=3 :break await 20 redraw 1 loop if a=1:goto *a1time stop *a1time clrobj font "MS UI Gothic", 14, 1 objmode 2 objsize 150 pos 0,26 listbox a, 52, "タイトル\n時計\nストップウォッチ\nタイマー" repeat redraw 0 color 255,255,255 boxf title "MituT21 [Ver:"+ver+"] color 0,0,0 boxf 0,0,750,25 color 255,255,255 font "Yu gothic UI",20,2 pos 0,-5 mes "Mitu Factory " pos 120,-4 font "Yu gothic UI",20 mes "MituT21" pos 610,-1 font "メイリオ",20 Titletime= strf("%02d",gettime(4)) +":"+ strf("%02d",gettime(5)) +":"+ strf("%02d",gettime(6)) +"."+ strf("%03d",gettime(7)) mes Titletime if a=1 :goto *a1time await 20 redraw 1 loop
と出てきてしまいます。
[#Error 9 subroutineやloopのネストが深すぎます]
どうすれば改善できるのでしょうか。
ご指摘よろしければお願いします。