there's no "break" statement in ZBasic, but is there any way to fall-through the code in one case clause into the next? I have a habit of doing that in finite state machines.
Other than a goto or repeating code from the successive state, I don't see a way.
stevech wrote:is there any way to fall-through the code in one case clause into the next?
Other than using goto, no. That's just the way that Select/Case is designed in VisualBasic. Interestingly, a commom criticism of C/C++ is that case code falls through unless you explicitly add a break to prevent it.