Post Reply 
Evaluation of variables in 50g
05-27-2014, 02:14 PM
Post: #11
RE: Evaluation of variables in 50g
(05-26-2014 10:09 PM)David Hayden Wrote:  Note that global and local identifiers behave differently when they don't exist also. If you execute a global that doesn't exist, the calculator pushes the ID on the stack. If you execute a local that doesn't exist, it generates an "undefined local name" variable.

I'm with you, Claudio: I don't see a reason why it works the way it does.

Dave

We need to come up with a specification of the behavior we want and stick to that. I think we should either EVAL everything or RCL everything, and whatever breaks, breaks.
The EVAL approach: Will work on most objects the way we are used to, but will break symbolics.
The RCL approach: Will work on most objects the way we are used to, but will break programs.
I think it's more important to have programs in a variable being executed automatically than algebraics recalled unevaluated.

Claudio
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Evaluation of variables in 50g - Claudio L. - 05-27-2014 02:14 PM



User(s) browsing this thread: 1 Guest(s)