Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Basjes (0.19 sec)

  1. doc/go_spec.html

    "Switch" statements provide multi-way execution.
    An expression or type is compared to the "cases"
    inside the "switch" to determine which branch
    to execute.
    </p>
    
    <pre class="ebnf">
    SwitchStmt = ExprSwitchStmt | TypeSwitchStmt .
    </pre>
    
    <p>
    There are two forms: expression switches and type switches.
    In an expression switch, the cases contain expressions that are compared
    against the value of the switch expression.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top