summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex
blob: bce9a19ab4ed6f798be75858c3553caad7e15edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\Switch{the value of T}{
  \uCase{a value}{
    do this\;
    do that\;
  }
  \lCase{another value}{one line}
  \Case{last value}{
    do this\;
    break\;
  }
  \Other{
    for the other values\;
    do that\;
  }
}