Post Reply 
HP49-50G : test IF THEN 'Instruction1' END ≠ test 'Instruction1' IFT
04-11-2021, 10:28 PM
Post: #6
RE: HP49-50G : test IF THEN 'Instruction1' END ≠ test 'Instruction1' IFT
(03-28-2021 04:39 AM)Han Wrote:  In the second case, you may want to use << 's<?s.0' >> if you want to place an algebraic expression on the stack. The reason is that IFT can use both programs (encapsulated with << and >>) or algebraic expressions as an operand to evaluate. Thus, what happens is that it tries to evaluate the algebraic expression as if it were a program.

Actually, symbolic objects *are* programs for all intents and purposes Smile When a DOSYMB ... objects ... SEMI composite object is evaluated ( in User-RPL by =xEVAL which calls =COMPEVAL or directly in Sys-RPL by calling =COMPEVAL ), the elements of the symbolic are executed as if they were in a normal secondary. This is possible because although symbolic objects are displayed in infix notation, they're actually stored in-memory in RPN Smile

Regards,

Jonathan

Aeternitas modo est. Longa non est, paene nil.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP49-50G : test IF THEN 'Instruction1' END ≠ test 'Instruction1' IFT - Jonathan Busby - 04-11-2021 10:28 PM



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