start: input a ON 1-(a=1)-2*(a=2)-3*(a=3 or a=4) GOSUB CASEELSE, CASE001, CASE002, CASE003 goto start CASEELSE: PRINT "U-Oh" :: RETURN CASE001: PRINT "Hello" :: RETURN CASE002: PRINT "World" :: RETURN CASE003: PRINT "Goodbye" :: RETURN