Reading one or two arguments
|
03-13-2021, 08:40 PM
Post: #2
|
|||
|
|||
RE: Reading one or two arguments
(03-13-2021 04:18 PM)HillyBoy Wrote: Hi, If your calculator settings are in RPL mode, then a program can read stack values with Ans(N). Where N is the stack number. This work in RPL mode only. The RPL mode on the Prime is humbug. So if your are going continue with Prime, I strongly advice you to set it in Algebraic mode, if not buying a dedicated RPL calculator. Input to your Prime program when it is in algebraic mode should be done programmatically via the Input() function. Read up on this command in help. The TYPE() and type() functions are unreliable to use. Because, they change as the wind blows. Not only changes from shifting CAS/HOME, but also changes in interaction with other functions in a program. And sometimes it spits out some numbers and names than given in the help menu. For example, if your program expects 0 for a float number, it sometimes give you a name; DOM_FLOAT. Do this, EVAL(TYPE(MyARG)). By this a type name gets evaluated to a number. This will ease type decision making in the program. I' m trying out this calculator myself. It's a failure |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Reading one or two arguments - HillyBoy - 03-13-2021, 04:18 PM
RE: Reading one or two arguments - essen - 03-13-2021 08:40 PM
RE: Reading one or two arguments - HillyBoy - 03-14-2021, 10:54 AM
RE: Reading one or two arguments - Han - 03-14-2021, 05:20 AM
RE: Reading one or two arguments - HillyBoy - 03-14-2021, 10:57 AM
RE: Reading one or two arguments - essen - 03-14-2021, 11:54 AM
RE: Reading one or two arguments - essen - 03-14-2021, 10:08 PM
RE: Reading one or two arguments - HillyBoy - 03-15-2021, 05:06 AM
RE: Reading one or two arguments - essen - 03-15-2021, 12:27 PM
RE: Reading one or two arguments - HillyBoy - 03-16-2021, 11:57 AM
RE: Reading one or two arguments - essen - 03-16-2021, 09:00 PM
RE: Reading one or two arguments - Gene - 03-17-2021, 08:55 PM
|
User(s) browsing this thread: 1 Guest(s)