Branching

       This structure is very like if, but there are more than 2 possible choices. Example:

(fieldColor is defined)
branch on fieldColor
  if "blue"
    write "This is sea"
  if "green"
    write "This is part of a ship"
  if "brown"
    write "Here a ship was hit"
  if "red"
    write "Here some sea was hit"

Concept last updated: 24/09 2003.

Relations

is a kind of

Other sources

Billedformat Branching Browser

Libellus