/ Published in: ActionScript 3
Expand |
Embed | Plain Text
switch (example_string) { case "a": trace ("a was selected"); break; case "b": trace ("b was selected"); break; default: trace ("Neither a or b was selected") }
You need to login to post a comment.
