Post Reply 
Command needed for striping brackets
02-20-2021, 10:47 PM
Post: #1
Command needed for striping brackets
in HOME:
CAS.convert({48},"DOM_FLOAT"))
CAS.convert([48],"DOM_FLOAT"))

in cas:
convert({48},DOM_FLOAT))
convert([48],DOM_FLOAT))

Eventually I found this way striping off brackets. Turning it into
a function makes it a bit easier writing. Am still surprised, why
not a dedicated command to do this. It seems an odd behavior
to me, why, when using the SUB command on a numerical value
clamped in list - or vector - brackets, leaves it the same (not
stripping these brackets). The above commands shows, as
alwise does with the Prime, keeping track of the difficulties
with programing caused by the division - HOME / CAS. What are
this separation really for, other than stress humans. Does anyone
here know and explain this to me.

I wish HP soon realizes and install a full blown HP48 (HP50G) language
on this Prime calculator. A full one, even, so we can delete the Primes
if so desired.

essen
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Command needed for striping brackets - essen - 02-20-2021 10:47 PM



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