Post Reply 
Basic INPUT help
04-01-2017, 04:31 PM (This post was last modified: 04-01-2017 04:32 PM by AngryNapkin.)
Post: #5
RE: Basic INPUT help
Well let me ask some advice, because this relates to my other question I posted with the solve() not working right.

Basically I am trying to make a simple INPUT dialog that updates every time the user enters some values. I have the INPUT running in a while loop.
When the number are input, the variables get worked on, and re updated, and the loop restarts, populating the INPUT with the new values.
I wanted to use the simple solve() command to solve for one of three values.
For example

While INPUT({A,B,C},"Test Input) > 0 DO
// Some testing here to find which solve() line to run
solve(A+B=C,A)sto>A
solve(A+B=C,A)sto>B
solve(A+B=C,A)sto>C
END;

So basically, i check to see witch value needs updating, and based on the other two, the solve() finds the answer. This is a crude example, but about as simple as I need.

I know there is the Solver which does work, but I was trying to get this to work in a program without the need to have to enter a formula first and then run the Solver.


Is there an easier way to go about this?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Basic INPUT help - AngryNapkin - 04-01-2017, 01:00 AM
RE: Basic INPUT help - Giancarlo - 04-01-2017, 09:33 AM
RE: Basic INPUT help - Didier Lachieze - 04-01-2017, 10:17 AM
RE: Basic INPUT help - AngryNapkin - 04-01-2017, 04:13 PM
RE: Basic INPUT help - Tim Wessman - 04-06-2017, 05:28 PM
RE: Basic INPUT help - AngryNapkin - 04-01-2017 04:31 PM



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