Search:

Type: Posts; User: jps

Search: Search took 0.10 seconds.

  1. Thread: Dice Roller

    by jps
    Replies
    6
    Views
    2,696

    [SOLVED] Re: Dice Roller

    The hint given earlier is that the variable is visible through the scope of the for loop. The problem is not the variable, the problem is the scope of the for loop has been cut short. Compare the...
  2. Thread: Dice Roller

    by jps
    Replies
    6
    Views
    2,696

    [SOLVED] Re: Dice Roller

    The error is telling you that the variable named 'side' is not a valid variable name on line 20 of the dieRoll class.
    Something must have caused the scope of the variable to end before you thought...
Results 1 to 2 of 2