Author Topic: Cases  (Read 604 times)

What's the proper way to use them?

Is it just using the switch$(%variable)?

Tom

switch$ for strings, switch for non-strings. I'm not sure if it actually matters.

You can get away with using switch$ for integers anyway, It just makes it less likely for you to run into bugs if your supposed integer is infact typecasted as a string.