Forum Discussion
WaltHamilton
2 years agoSuper Hero
Programmer-type people have been wanting this ability for decades. To the best of my knowledge, it doesn't exist in any language. You have to write one or two lines of code for each possible state.
Apple's old,old BASIC used to have a "ON variable GOTO X, Y, Z", but I think that got deprecated when line numbers went out.