about switch
#1

is switch like c?
...if we don't add a "break" in case,do the next case will execute?
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
No, switch in PAWN has no fall-through. It is more like if, in that each case can only be followed by a single statement (which might enclose more in braces):
thanks for ******
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)