Post Reply 
Plus42 Equations, Preview Release
05-17-2022, 02:19 PM
Post: #670
RE: Plus42 Equations, Preview Release
(05-17-2022 01:08 PM)tgray Wrote:  Still wondering about EVALN, EQNVAR, and EQNMNU though...

Those functions work with equation objects. For example, let's say you have an equation stored in a variable named "EQ"; say, XSTR "A*X^2+B*X+C" PARSE STO "EQ".
And you have a program like LBL "PG" MVAR "X" MVAR "A" MVAR "B" MVAR "C" RCL "X" X^2 RCL* "A" RCL "X" RCL* "B" + RCL+ "C" END.

Then:
EVALN "EQ" is equivalent to XEQ "PG"
EQNVAR "EQ" is equivalent to PGMVAR "PG"
EQNMENU "EQ" is equivalent to VARMENU "PG"
EQNMNU1 "EQ" is equivalent to VARMNU1 "PG"

Note that an equation object stored in a variable named "EQ" is not the same as an equation in EQN mode that is named EQ. Those two things live in completely separate name spaces.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Thomas Okken - 05-17-2022 02:19 PM



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