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...
Type: Posts; User: Norm
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...
Remove the definitions for the variables from the init() method. Use those defined in the class.
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...