Why the right(); command returns both sides of an expression? (SOLVED!)
|
04-13-2015, 04:49 PM
(This post was last modified: 04-13-2015 08:14 PM by Spybot.)
Post: #5
|
|||
|
|||
RE: Why the right(); command returns both sides of an expression?
Hi Guys!!!
OK this is the way I found to solve my issue with the right(); command, from inside of a program, this command returns a list with both sides of the equation, all I did (after a long headache!) was taking the elements "Out of the list" that's it ... Done!. Thanks to you Guys, I've been learning a lot about the Prime. here's the code... as simple as this: EXPORT TEST() BEGIN LOCAL M,B,BY; INPUT({{M,[0]},{B,[0]}},"Title","m:","b:","Help"); BY:="y="+M+"*x+"+B+""; BY:=CAS(BY); BY:=CAS.right(BY); PRINT(); PRINT(" Eqn. input by User: "+exact(CAS("y="+M+"*x+"+B+""))+" left side of the equation: "+BY(1)+" //here is the trick. right side of the equation: "+BY(2)+" //here is the trick. Thanks for Watching!"); END; Spybot. Spybot. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Why the right(); command returns both sides of an expression? (SOLVED!) - Spybot - 04-01-2015, 03:45 AM
RE: Why the right(); command returns both sides of an expression? - Spybot - 04-01-2015, 04:05 PM
RE: Why the right(); command returns both sides of an expression? - DrD - 04-01-2015, 05:29 PM
RE: Why the right(); command returns both sides of an expression? - Spybot - 04-01-2015, 07:22 PM
RE: Why the right(); command returns both sides of an expression? - Spybot - 04-13-2015 04:49 PM
|
User(s) browsing this thread: 1 Guest(s)