switch() & case
I have two questions:
1) Can I switch a string? For example: Code:
and 2) Is it possible to combine cases with an & or |? For example: Code:
Any help is greatly appreciated. |
Should work. Example:
Code:
|
Quote:
|
Or, you could just replicate the code twice.
|
Quote:
Thanks anyway guys. |
Or you can check a single character in a string like I sometimes do:
Code:
Code:
|
Thanks a lot v3x, I'll try that.
|
to have multiple cases use this
Code:
|
Thanks for the information guys.
|
here is an example how to use a case for a range:
Code:
|
| All times are GMT -4. The time now is 16:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.