Originally Posted by
Norm
That assignment statement needs to be inside of a method.
Only initialization statements can be outside of a method.
Thank you. That worked but I still don't know what I'm doing so I need to experiment. I still don't understand why no online courses or examples work out of the box. It's difficult to learn something when you can't even follow along with lessons because you are forced to go off on tangents to learn non documented material when you are doing simple beginner lessons.