Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
Switch Example 1
Switch Example 1
nopaneltrue

Example 2 - Looping through an array

...

Switch Case Example 3Switch Case Example 3
nopaneltrue