| BCX Console Demonstration Program S36.bas |
DIMa$DIMb a$="Hello"b=1SELECTCASEUCASE$(a$)CASE"GoodBye"?"GoodBye"CASE"12345"?"12345"CASE"HELLO"?"It passed the Case string test!"CASE"bombed"?"bombed"ENDSELECTSELECTCASEb+1CASE4?"GoodBye"CASE3?"12345"CASE2?"It passed the Case numeric test!"CASE1?"bombed"ENDSELECT