HP Forums

Full Version: quartiles() problem when variable name is long
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
(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 .
(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!
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.
Good to know. I put it in the wiki.
(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
Reference URL's