SWITCH乣ENDSWITCH 娫偵 CASE 偵斾妑偡傞抣傪婰弎偡傞丅
丂侘曄悢偺撪梕偲 CASE 屻偺抣傪斾妑偟丄摍偟偗傟偽丄僐儘儞屻偺張棟偵堏傝傑偡丅捠忢丄張棟偺嵟屻偵 BREAK 傪抲偄偰 SWITCH乣ENDSWITCH 傪敳偗傑偡偑丄偦傟偑柍偄応崌偼丄師偺張棟偵堏傝傑偡丅DEFAULT 屻偺張棟偼峴傢偢丄SWITCH乣ENDSWITCH 傪敳偗傑偡丅
丂侘曄悢偺撪梕偲慡偰偺 CASE 屻偺抣傪斾妑偟丄摍偟偔側偄応崌偼丄DEFAULT 屻偺張棟傪峴偄傑偡丅
丂彯丄DEFAULT 偺屻偵 CASE 傪巜掕偡傞帠偼弌棃側偄丅
丂
丂椺偊偽 SWITCH 偵曄悢 A 傪巜掕偟丄1偺抣傪帩偮 CASE 傪巜掕偟偨応崌偱曄悢 A 偑乽2乿偺応崌偼丄乽2乿傪帩偮 CASE 偺師偵張棟傪堏偡丅曄悢 A 偑1埲奜偺応崌偼 DEFAULT 偺師偵張棟傪堏偡丅側偍丄DEFAULT 偺屻偵 CASE 傪巜掕偡傞帠偼弌棃側偄丅
丂CASE 偵張棟傪堏偟丄師偺 CASE 偑尰傟偨傜抣偺僠僃僢僋傪峴偆偙偲側偔 CASE 偺師偵張棟傪堏偡丅傕偟丄師偺 CASE 偵張棟傪堏偡偙偲側偔 ENDSELECT 偺捈屻偵張棟傪堏偟偨偄偲偒偼 BREAK 傪幚峴偡傟偽傛偄丅
梡椺
曄悢 A 偑乽1乿偺応崌偼柦椷侾傪幚峴偟丄曄悢 A 偑乽2乿偺応崌偼柦椷俀偲柦椷俁傪幚峴偟丄曄悢 A 偑乽3乿偺応崌偼柦椷俁傪幚峴偟丄偦偺偳傟偱傕側偄応崌偼柦椷係傪幚峴偡傞丅
SWITCH A
CASE 1:
乣柦椷侾乣
BREAK
CASE 2:
乣柦椷俀乣
CASE 3:
乣柦椷俁乣
BREAK
DEFAULT:
乣柦椷係乣
BREAK
ENDSWITCH