Calling the contents of an identifier
|
03-13-2017, 10:29 PM
(This post was last modified: 03-21-2017 04:18 AM by compsystems.)
Post: #3
|
|||
|
|||
RE: Calling the contents of an identifier
In CAS MODE, does not work, evaluates the USER variables, (A, ... Z, L0-L9, M0-M9, etc.) I keep insisting that the quotation marks should be not evaluated the expression.
//CAS MODE with X uppercase X:=0; symbExpr:='X+1'; var:="FF1"; CAS( EVAL ( var + "(X):=" + symbExpr ) ); // FF1(X):=1 FF1(2); // RETURNS 1 evaluates X =( //HOME MODE with X uppercase X:=0; symbExpr:='X+1'; var:="FF1"; CAS( EVAL (var + "(X):=" + symbExpr )); // FF1(X):='X+1' FF1(2); // RETURNS 3 OK //CAS MODE with x lowercase purge(x); symbExpr:='x+1'; // or symbExpr:=x+1; var:="FF2"; CAS( EVAL ( var + "(x):=" + symbExpr ) ); // FF2(x):='x+1' FF2(2); // RETURNS 3 OK At least I was able to execute INPUT CMD from a CAS PRG run PRGCAS(); PHP Code: export resetFunctionAppVars( varApp_str ) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Calling the contents of an identifier - compsystems - 03-13-2017, 01:45 AM
RE: Calling the contents of an identifier - Han - 03-13-2017, 03:16 AM
RE: Calling the contents of an identifier - compsystems - 03-13-2017 10:29 PM
RE: Calling the contents of an identifier - mark4flies - 03-16-2017, 01:18 AM
RE: Calling the contents of an identifier - Han - 03-14-2017, 12:51 AM
RE: Calling the contents of an identifier - compsystems - 03-16-2017, 03:22 AM
RE: Calling the contents of an identifier - Han - 03-16-2017, 01:25 PM
RE: Calling the contents of an identifier - mark4flies - 03-16-2017, 01:10 AM
|
User(s) browsing this thread: 1 Guest(s)