quartiles() problem when variable name is long - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: quartiles() problem when variable name is long (/thread-9819.html) |
quartiles() problem when variable name is long - pier4r - 12-30-2017 07:27 PM 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. RE: quartiles() problem when variable name is long - salvomic - 12-30-2017 07:43 PM 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 RE: quartiles() problem when variable name is long - pier4r - 12-30-2017 07:55 PM (12-30-2017 07:43 PM)salvomic Wrote: hi Pier, 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 . RE: quartiles() problem when variable name is long - salvomic - 12-30-2017 08:01 PM (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. yes, I agree! RE: quartiles() problem when variable name is long - Tim Wessman - 12-31-2017 12:13 AM 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. RE: quartiles() problem when variable name is long - pier4r - 12-31-2017 12:18 AM Good to know. I put it in the wiki. RE: quartiles() problem when variable name is long - salvomic - 12-31-2017 09:00 AM (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 |