Post Reply 
subst command in RPN mode (bug ?)
08-12-2015, 07:56 PM (This post was last modified: 08-12-2015 08:00 PM by Didier Lachieze.)
Post: #4
RE: subst command in RPN mode (bug ?)
(08-12-2015 05:15 PM)Philippe Wrote:  In home view and in textbook entry, subst('2*Q', 'Q=2') gives 4 as expected.
However, in RPN entry :

'2*Q' Enter
'Q=2' Enter
subst(2) Enter
The single quotes are lost when you press enter, on the stack you don't have '2*Q' but just 2*Q.
So you need to add another set of single quotes or double
quotes around the parameters to make it work , for example :

"'2*Q'" Enter
"'(Q=2)'" Enter
subst(2)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: subst command in RPN mode (bug ?) - Didier Lachieze - 08-12-2015 07:56 PM



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