Post Reply 
quartiles() problem when variable name is long
12-30-2017, 07:27 PM (This post was last modified: 12-30-2017 07:28 PM by pier4r.)
Post: #1
quartiles() problem when variable name is long
I do not know if it is a general limit or a limit of some functions (in particular the quartiles() function).

With modern programs I tend to write very long variable/functions names to self comment those and lowering the comments maintenance (that anyway is still needed. Comments are important).

I stumbled upon a bug or an undocumented limit of the function quartiles. If quartiles has to read a certain variable defined with a name of 39 chars, it returns a list with 5 times the variable name inside.

Where do I report the bug? Because it is a bug, at least it seems undocumented.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
12-30-2017, 07:43 PM
Post: #2
RE: quartiles() problem when variable name is long
hi Pier,
I think there are some issues with long names that in some circumstances could give some, unexpected, problems.
See [here] the reply by Tim about Astrolab and its long names variables.

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
12-30-2017, 07:55 PM
Post: #3
RE: quartiles() problem when variable name is long
(12-30-2017 07:43 PM)salvomic Wrote:  hi Pier,
I think there are some issues with long names that in some circumstances could give some, unexpected, problems.
See [here] the reply by Tim about Astrolab and its long names variables.

Salvo

Great link! And for me it is ok that the names cannot be that long, just would be nice to know in advance.

Documenting on wiki4hp .

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
12-30-2017, 08:01 PM
Post: #4
RE: quartiles() problem when variable name is long
(12-30-2017 07:55 PM)pier4r Wrote:  And for me it is ok that the names cannot be that long, just would be nice to know in advance.

Documenting on wiki4hp .

yes, I agree!

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
12-31-2017, 12:13 AM
Post: #5
RE: quartiles() problem when variable name is long
HPPPL length is 32 chars. CAS can be whatever to my knowledge. The system doesn't allow creation of anything longer before which it did at one point.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
12-31-2017, 12:18 AM
Post: #6
RE: quartiles() problem when variable name is long
Good to know. I put it in the wiki.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
12-31-2017, 09:00 AM
Post: #7
RE: quartiles() problem when variable name is long
(12-31-2017 12:13 AM)Tim Wessman Wrote:  HPPPL length is 32 chars. CAS can be whatever to my knowledge. The system doesn't allow creation of anything longer before which it did at one point.

thanks, Tim.

Happy New Year!

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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