Post Reply 
User interface like Time Value of Money in 48GX
04-30-2017, 05:40 PM
Post: #1
User interface like Time Value of Money in 48GX
Hi,

I have an application with several related equations and variables. I would like to write a program that behaves as the Time Value of Money does in the 48GX, allowing any of the variable to be solved if the others are known. Does anyone have or know of source code examples of that programming behavior?

I have used a custom MENU, as in the example on page 1-81 of the Advanced User's Reference; but, that does not have the variables on the screen that can be navigated to and all seen at the same time.

Thanks,
Mike
Find all posts by this user
Quote this message in a reply
05-01-2017, 05:07 PM
Post: #2
RE: User interface like Time Value of Money in 48GX
There's two different interfaces built-in to the 48gx for TVM. One uses the menu area to display the variable names (the standard "MSOLVR" functionality), and the other uses the full display with the "TIME VALUE OF MONEY" banner at the top.

Based on your description I'm thinking you are probably looking for the latter. If so, see the documentation for the INFORM command, which can get you pretty close to the same type of functionality. It's powerful, but requires setting up a large number of arguments on the stack prior to calling it. You may be able to find some examples of its use in comp.sys.hp48 newsgroup archives.

The built-in apps in the SOLVE menu are actually using an enhanced API that's only accessible with System RPL, so you may find that INFORM doesn't support some of the functionality that you're wanting to emulate. There's no easy approach to that type of situation, as it involves a fairly steep learning curve to follow that path. It's doable, but I wouldn't recommend starting down that path unless you have lots of time to devote to this.
Find all posts by this user
Quote this message in a reply
05-01-2017, 09:18 PM
Post: #3
RE: User interface like Time Value of Money in 48GX
There is a program to build such boxes here
Arno
Find all posts by this user
Quote this message in a reply
05-02-2017, 09:41 AM
Post: #4
RE: User interface like Time Value of Money in 48GX
And if you're looking for something to run on a GX, you could give my Input Form Builder (http://www.hpcalc.org/details/4211) a try:-)

-- Ray
Find all posts by this user
Quote this message in a reply
Post Reply 




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