Thread Closed 
Reading one or two arguments
03-16-2021, 11:57 AM (This post was last modified: 03-16-2021 12:02 PM by HillyBoy.)
Post: #10
RE: Reading one or two arguments
You know what is really funny?
If you take a complex in the notation (a,b) and make it polar, you get the notation (abs<arg), which is very useful. Now if you try to edit this stack entry it shows up on the command line in that same notation, so far so good, still a happy user. Then when you press ENTER you get a syntax-error as the Prime only accepts polar complex objects in the notation (abs,<arg), so with a comma between "abs" and "<". Once this is corrected and ENTER pressed it shows on the stack as before without a comma, so as (abs<arg).

The other funny thing is when using Ans(N) it is possible to read stack entries, again very useful. The reverse is possible as well, so you can assign a value to Ans(1), Ans(2), Ans(3), etc. But instead of what you would expect, only Ans(1) is being modified. Nice inconsistent behaviour that is.

Now I am only working with the Prime for one week now and only been busy with these complex numbers, so I wonder how many other inconsistencies this marvel of ignorance contains.

While searching for answers I found this very interesting thread: https://h30434.www3.hp.com/t5/Tablets-an...-p/5046879

It dates back from 2014 and nothing seems to have happened with these great suggestions...

Nicolàs
Find all posts by this user
Thread Closed 


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 - Han - 03-14-2021, 05:20 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 - 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)