A easy problem. Help!

Hi,

I'm a beginner. Why this procedure appear an error named "Variable radius"?

Function ValueDemo(radius)
Variable radius
return pi*radius^2
End
When I copy your function and paste it into my Procedure window, it compiles just fine. I suspect there is a problem with code before what you show here. Can you post the rest of your code?

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
Hi Johon,

Because there is the same name in my procedure, so the error appeared.

Thanks a lot.