Post Reply 
Problems with eval(IdentifierName,#recall)
02-28-2017, 12:32 PM (This post was last modified: 02-28-2017 12:56 PM by compsystems.)
Post: #3
RE: Problems with eval(IdentifierName,#recall)
(02-27-2017 08:15 PM)parisse Wrote:  In CAS programs, evaluation is done at level 1 instead of 25 for interactive evaluation.
understood for CAS PRGM

id0:=8;
id1:='id0'; // OR id1:=quote(id0);
id2:='id1';

id2; // 'id1' // ok, 1 LEVEL of evaluationand and not continuous ... -> 8 as HOME MODE
eval(id2); // 'id0' // 2 LEVELS, Why? EVAL cmd should assess if not one level at all levels

eval(id2,0); // id2 -> 'id2' // ok, I interpret it as not evaluating
eval(id2,1); // id2 -> 'id1' // ok, 1 LEVEL
BUT
eval(id2,2); // id2 -> 'id1' // must be 2 levels of evaluation id2 -> 'id1' -> 'id0' , otherwise for what is the second argument?

Now the logic of the program changes (to check the problem follow the previous steps 6 to 7.1), if there are stored variables in HOME VIEW and there is no way to delete those variables from a CAS prgm, so I request new commands
PURGE() only for HOME environment
& PURGEcas() only for CAS environment


In step 5,this must also be solved, Why global variables are created
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problems with eval(IdentifierName,#recall) - compsystems - 02-28-2017 12:32 PM



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