Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for F3 (0.01 sec)

  1. doc/go_spec.html

    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x < 0: return -x
    default: return x
    }
    
    switch {
    case x < y: f1()
    case x < z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    Implementation restriction: A compiler may disallow multiple case
    expressions evaluating to the same constant.
    For instance, the current compilers disallow duplicate integer,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top