My program is a pretty basic one, with menus & formulas & variables. Everything was working fine until one day it started giving me the ERROR: variable is not currently defined. I hit goto, and it took me to the + sign in 2(Pi)r+2(pi)r^2. This is one a TI-84 Plus CE. Help?
Date: 21 May 2016 21:52
Number of posts: 6
RSS: New posts
If that's the lowercase letter r, found in the [VARS] Statictics… menu, you can't use it as a regular variable. Statistics variables can only be created or modified by special statistics commands. Try using the uppercase letter R instead.
Sorry for being unclear. I was using the variable R, not r. Turns out I just retyped the formula and it worked. I would still like some help figuring out what was wrong before.
I'm not sure why you would get ERR:Undefined with the variable R—the uppercase-letter real variables are AFAIK always auto-initialized to zero when you access them. Even if you used DelVar, it would have the value of zero. Using an assembly program shouldn't change that. So I'm puzzled for now.
Is it possible to post the entire source of your program, or a large section around the error? And can you confirm that the line was exactly ":2πR+2πR²"?