Post Reply 
Difference between Real and Virtual Calculator
10-06-2017, 04:01 PM
Post: #10
RE: Difference between Real and Virtual Calculator
(10-05-2017 07:34 AM)simone_71 Wrote:  moreover i repeat my question: why the same code is working in my real calculator and is not working in the virtual?

Hello,

Several people answered this already. You do NOT have the Solve app running/selected when you are editing your source file. Thus when it checks the code, it can't find SOLVE which is a solve app function and not a global system function

Solve.SOLVE fully qualifies the command and tells the system where to look. You currently have a dependency on the Solve app being active to use your program.

Solve.SOLVE replacing "SOLVE" would fix it.

SOLVE is basically identical to FNROOT. You aren't simultaneously solving with SOLVE - it can't do that. FNROOT is a drop in replacement in your source and will have no dependency on the solve app. If you got rid of storing into E1, you'd no longer be using anything in the solve app.

FNROOT(X^2-2,X,-2) -> ~-1.41
FNROOT(X^2-2,X,2) -> ~1.41

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Difference between Real and Virtual Calculator - Tim Wessman - 10-06-2017 04:01 PM



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