Post Reply 
Command needed for striping brackets
03-01-2021, 07:00 AM (This post was last modified: 03-02-2021 08:15 PM by essen.)
Post: #17
RE: Command needed for striping brackets
(02-25-2021 03:32 PM)essen Wrote:  
(02-24-2021 12:52 PM)Albert Chan Wrote:  I never used the word indirection. (this is my first post here)
I looked up Eric Raymond's Jargon File, and the word is common enough that it is not even defined.

I can see why you were offended. It is just a language misunderstanding.
Here, we talk geek (in the good way) Big Grin

Here is another computer word which may be offensive: git - distributed version control system


If it were this simple, the thread would not be this long.
In HOME mode, HP Prime incorrectly parse it as variables, with implied multiply.

HOME> {48}[1]       → {48}*[1]       → {[48]}

Perhaps this is a bug ?
---------------------------------

I found the same limit with STRIP({48},DOM_FLOAT), posted earlier here by
me, when running it in PRIME emulator, it only works in calculator cas input mode. The reason are, that it's not the DOM_FLOAT that is doing the stripping. The stripping of the brackets from the enclosed numerical is done alone by storing and calling the enclosed argument. The only way without storing and calling it, are noted by, Didier ,using the head command, head({48}).

So I would still prefer a dedicated stripping command.

Fine, you accept a mistake.

Addition:
The list-Sum function will strip the brackets. It works both for {} and [].
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Command needed for striping brackets - essen - 03-01-2021 07:00 AM



User(s) browsing this thread: 1 Guest(s)