This is probably the second most common statement to use. It is helpful when working
with fields that contain multiple values or when working with multiple issues
(just for an example).
...
The switch statement is somewhat similar to an if/else statement but can be easier to read when there are many different possible conditions.
Example 1
Insert excerpt |
---|
...
Example 3 - Looping through an array with index
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example 2 - Looping through an array
...
|