Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: edc9b4ec19e83d0d792cf828401107bd66c165e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
switch (VARIABLE)
{
    case CASE_1 :
        _foo= false;
    doSomething1();
    doSomething2();
    doSomething3();
        break;

    case CASE_2 :
        _foo= true;
    doSomething4();
        break;
}

Back to the top