How do I use CAS variables in a Program?
|
05-30-2017, 09:08 AM
Post: #1
|
|||
|
|||
How do I use CAS variables in a Program?
I want to use long integer values in a program. On the CAS home screen, I can define:
* A:=1000!; and it stores the exact value into that variable. I've tried methods I saw on various web pages, like * calling the variables CAS.B and CAS.D * CAS.B:=19^C-1; **** (I still got scientific notation when the numbers got too large) when that didn't work, I tried * CAS("B:=19^C-1"); **** but this still gave me scientific notation after a certain point. I'd love to know how to use CAS precision variables in a program if anyone can point me to the information. Here's the latest version of the program. It is meant to simply give the 2^E and 3^F prime factors of 19^C-1. Code:
(I don't know why this COPY of the program gets double ;; when I only used single ;. I assume there are some places where the ; is optional that I used it, so it was doubled when transferred to the computer. There are also some cases where I have ; in the calcuator and it was deleted when copied to the computer, like in both IF ... END blocks.) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How do I use CAS variables in a Program? - John@Mazes.com - 05-30-2017 09:08 AM
RE: How do I use CAS variables in a Program? - Han - 05-30-2017, 04:54 PM
RE: How do I use CAS variables in a Program? - John@Mazes.com - 05-30-2017, 07:39 PM
RE: How do I use CAS variables in a Program? - Tim Wessman - 05-30-2017, 08:52 PM
RE: How do I use CAS variables in a Program? - John@Mazes.com - 05-31-2017, 04:22 PM
RE: How do I use CAS variables in a Program? - Tim Wessman - 05-31-2017, 05:11 PM
RE: How do I use CAS variables in a Program? - cyrille de brébisson - 05-31-2017, 04:49 AM
RE: How do I use CAS variables in a Program? - John@Mazes.com - 05-31-2017, 04:23 PM
RE: How do I use CAS variables in a Program? - Han - 06-01-2017, 03:50 AM
|
User(s) browsing this thread: 1 Guest(s)