695137400 / arity-calculator

Automatically exported from code.google.com/p/arity-calculator
1 stars 1 forks source link

Add option to auto-insert "Ans" at start of an expression #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Mathdroid offers the option in the settings called continuation mode which 
"Auto-insert[s] "Ans" when an operator is used at the start of an expression."

It would be nice if arity allowed the user to toggle between starting with Ans 
since there is no dedicated negative symbol. I often forget to start an 
expression with ( and end up having to retype it.
Ex: -a+b would become Ans-a+b

Original issue reported on code.google.com by William....@gmail.com on 17 Dec 2011 at 10:26

GoogleCodeExporter commented 8 years ago
This feature is not needed. Simply assign your calculation to a variable, then 
use the variable.

For example, try

k=5

Then do

k+3

And the answer will be 8

You can also create functions. For example, do

myfunc(a,b)=a-b

Then do

x=myfunc(5,3)

Then try

x+4

Which will leave you with 6. You can also do functional things like this: do

m=5
h=4
x=m+h

That will show you an answer of 9, and all those variables are usable in 
further calculations.

:)

Original comment by TruSktr on 26 Sep 2013 at 5:22