Yes, but If / Else If is not as elegant, especially after the second one. Again I don't know the full technicalities, but I can see that a series of Else Ifs will have to unwind itself on the stack after resolving the logic. Additionally, a Case statement can be rationalised much better in the compiler, because all CASEs have equal weighting. In the If/Else construct, the compiler has to take your logic as it stands, because there may be dependencies within the ladder of statements.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt