Use the appropriate "Ans" in a program in HOME or CAS
|
11-14-2015, 05:08 PM
Post: #1
|
|||
|
|||
Use the appropriate "Ans" in a program in HOME or CAS
Hello friends!
My question will look simple but after reading the user's manual and browse this site, I haven't found an answer in the last days I searched. So I am asking help here, even if I will probably look no good. I've made a few functions (programs) in my HP Prime in the last years and many are based on the last answer computed. In the program if I use the variable "Ans", it will always take the last value from the HOME, even if I am in CAS. And if I use the variable "CAS.Ans", it will use the last result in CAS but it will also use it even if I am in HOME. Is there a way I can simply adapt my program so it will use the appropriate last answer according to the view I am in so I could still use the same program? How could I programmatically determine in which mode or which view I am so I'll use the correct answer? I am 90% of the time in HOME but sometimes I forgot I am in CAS, call my program and then did not realize but make bad calculation because it did not use the last answer I see in CAS but the one from HOME... If I could adapt the program, it would avoid these stupid mistake. I've seen many variables to determine few other things mode and setup, but I am sorry, I did not figure that one for HOME or CAS. Please, be kind and I don't laugh too much at me. :-) Denis Bisson Little electronic technician loving calculators |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-14-2015 05:08 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - cyrille de brébisson - 11-16-2015, 06:33 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-16-2015, 03:17 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Marcus von Cube - 11-16-2015, 06:07 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-16-2015, 06:24 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Tyann - 11-16-2015, 08:17 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Vtile - 11-17-2015, 03:05 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-17-2015, 03:21 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - cyrille de brébisson - 11-17-2015, 06:27 AM
|
User(s) browsing this thread: 1 Guest(s)