#Variable not working
1 messages · Page 1 of 1 (latest)
try using int a and int b instead of Integer a and Integer b
you can also use a.toString() instead of Integer.toString(a)
otherwise hover over the variable names with red underlines and send the error/warning here
Well yeah, dont use the wrapped class for such.
Just use the primitive type int as exokem suggested
You than dont have to make a String of that int when printing to the console
It will be handled automatically
And instead of a += 1 you can do a++ which is just shorter and more common
Your class name should also be Uppercase instead of lowercase, thats Java convention
script -> Script
Even tho its not considered a script but I already talked too much 
@lilac spindle ↑
Also, you don't need to call toString when appending to a string