on 05-11-2011 3:45 PM
Hi,
Is there any way to reproduce a switch statement using the graphical message mapping?
Eg:
switch (value) {
case 1
map AA
case 2
map BB
...
...
thanks
use an IF else option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is possible.
If else is mainly to decide logic for onlly two different condition. If you want to simulate very similar to Switch for more than 2 or multiple condition, Use If without else for all the conditions except the last one where you can use if else.
Example: If you have 10 conditions, first 8 condition go with if without else and last two with if else.
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.