Post Reply 
Solver inside of HP basic
02-26-2015, 04:20 PM
Post: #7
RE: Solver inside of HP basic
Turns out that local variables aren't fully carried through with with the solver call which I did not know. The primary reason is that you could run into a situation where you are doing something like LOCAL A; FNROOT(F1(X)-A,X) where F1 is defined as A+5. The question then arises: which value of A is being referred to here? The global A or the local A.

A similar issue could arise on the 50g for example when you try to solve a formula defined in directories up from your current and no defines in those location. It could result in all sorts of unexpected behavior.

I've put this on the list of things to look at and see what we might be able to do.

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
Solver inside of HP basic - Powersoft - 02-25-2015, 01:06 PM
RE: Solver inside of HP basic - Angus - 02-25-2015, 01:41 PM
RE: Solver inside of HP basic - Powersoft - 02-26-2015, 02:59 PM
RE: Solver inside of HP basic - Tim Wessman - 02-26-2015 04:20 PM
RE: Solver inside of HP basic - Powersoft - 03-06-2015, 04:18 PM



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