Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous result variable #4

Open
licaon-kter opened this issue Aug 13, 2016 · 4 comments
Open

Previous result variable #4

licaon-kter opened this issue Aug 13, 2016 · 4 comments

Comments

@licaon-kter
Copy link

In SpeedCrunch you have 'ans' eg:

  • 1+1
    Result 2
  • 'ans'+6
    Result 8

Also another way would be (natural) to consider the previous result if the next operation starts with an operator, eg:

  • 1+1
    Result 2
  • +6
    Result 8
@icasdri
Copy link
Owner

icasdri commented Aug 13, 2016

You can tap on the text of any previous result, and it will copy that into the input field.
For instance, if you have a calculation in the list like

2+2
                      4

Tapping on the 4 will copy it into the input field.

I will look into implementing a special 'ANS' button, however.

@licaon-kter
Copy link
Author

Yes a button, maybe replace that extra ENTER, see #1

@stpr-dev
Copy link

Agree with @licaon-kter . I do not think you need a special 'button' for it. When you are computing an expression, simply assign the result to the variable 'ans' by default (assuming of course that it is not a user defined variable or function). So for instance, if the user enters '2+3', make ans=2+3, and display ans. However if the user says 'A=2+3', do not assign it to ans.

@icasdri
Copy link
Owner

icasdri commented Sep 1, 2016

@licaon-kter That extra ENTER (or as it is called in the code, EVAL) is now fully customizable (as is any other key) with a simple long-press.

Previous result variable functionality itself is coming soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants