Search:

Type: Posts; User: VirtualAce

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    7,325

    Well it seems broken. Theoretically if braces...

    Well it seems broken. Theoretically if braces denote scope then the variable inside of them should have scope limited to the braces. The fact that I cannot declare a variable with the same name and...
  2. Replies
    7
    Views
    7,325

    Uh...its for C#.

    Uh...its for C#.
  3. Replies
    7
    Views
    7,325

    Switch case variable scope

    Ran into something today that does not make sense:

    This compiles:


    int x = 5;

    switch(x)
    {
    case 0:
Results 1 to 3 of 3