John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Code, syntaxe and commandes
>>>I don't see how switch can help - switch is only for checking a single variable against predefined values.
>>
>>That's the problem.... if its not in a blog post, you can't figure it out....Learn to think outside a blog post...
>
>Can you stop answering my questions in this way? I can figure out if it's possible with a switch, but in this particular case several IF statements are easier to implement. If you have nothing to say about the nature of the question, don't add your comments as they don't help.
You said a switch couldn't handle your case..... ergo my reply after Gregory showed you how to do it with a switch.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement