Search:

Type: Posts; User: Norm

Search: Search took 0.44 seconds.

  1. Replies
    5
    Views
    1,028

    Re: Wont display the rectangle.

    Use an assignment statement to assign a value to a variable:

    theVar = <the new value here>; // assign a value to theVar

    The code in post #1 assigned values to the variables. The code in...
  2. Replies
    5
    Views
    1,028

    Re: Wont display the rectangle.

    Remove the definitions for the variables from the init() method. Use those defined in the class.
  3. Replies
    5
    Views
    1,028

    Re: Wont display the rectangle.

    Where do the variables that are being used for drawing the rectangle get assigned values?
    They will start with a value of 0 and will stay 0 if the code doesn't change them.

    You have two...
Results 1 to 3 of 3