HP Forums
Bug? EXPR("List(1,1, ... )") - 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: Bug? EXPR("List(1,1, ... )") (/thread-8269.html)



Bug? EXPR("List(1,1, ... )") - Carlos295pz - 04-30-2017 12:10 AM

Is it intentional that the EXPR () command can not access the contents of a list for more than 2 parameters?

The problem is presented only with local variables:
LOCAL List = {{{0}}}};
EXPR ("List (1)"); Ok
EXPR ("List (1,1)"); Ok
EXPR ("List (1,1,1)"); Error: Syntax Error
EXPR ("List (1,1,1,1)"); Error: Syntax Error


RE: Bug? EXPR("List(1,1, ... )") - StephenG1CMZ - 04-30-2017 06:23 AM

Behaviour confirmed on the Android emulation (after adding missing { in LOCAL and commenting out the Ok/Error annotations).


RE: Bug? EXPR("List(1,1, ... )") - Carlos295pz - 01-30-2018 07:10 AM

Will this remain unchanged?


RE: Bug? EXPR("List(1,1, ... )") - cyrille de brébisson - 01-31-2018 05:41 AM

Hello,

Bug, and a nice one.
It is on "the list".

Cyrille