Menu

#67 Ability to continue to the next CASE

open
nobody
compiler (117)
2012-10-10
2006-06-15
Matthew
No

Would it be possible for FreeBASIC to be able to 'fall
through' to the next case in a SELECT CASE block, like
in C's switch block?
The default behaviour in SELECT CASE is to break out at
the end of a case, but there could be a statement, e.g.
"next case" or "continue case" or "goto next case" that
would jump to the next case.
If it were used at the end of a case, it would be
roughly equivalent to a fall-through.

Discussion


Log in to post a comment.