An error like undeclared variable seems obvious to me.
Unless you are from Mars and don't understand english, this means that a variable is not declared. What I normally do in such cases is declare a variable, in your case radius.
Happy programming!!!
Reputation Points: 2023
Solved Threads: 644
Senior Poster
Online 3,736 posts
since Oct 2008