Search:

Type: Posts; User: quzah

Search: Search took 0.13 seconds.

  1. Replies
    12
    Views
    24,037

    There can be a a limit on the number of case...

    There can be a a limit on the number of case statements for a switch implementation, but it will at a minimum support 1023.


    Quzah.
  2. Replies
    12
    Views
    24,037

    If you only have 2 cases, you may as well just...

    If you only have 2 cases, you may as well just use an if-else. Switches are really meant for cases (hah) where you have many choices.


    Quzah.
Results 1 to 2 of 2