Limitation of CHOOSE command - 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: Limitation of CHOOSE command (/thread-290.html) |
Limitation of CHOOSE command - veeblefester - 12-31-2013 01:15 PM I/O command CHOOSE. Page 549 of the Prime User Guide. Up to and including "item14" works. ...,"itemn" is wrong! With "item15" and beyond you get a Syntax Error. Someone please prove me wrong. I need "item1" thru "item20". It is looking like I will have to write code for a CHOOSE 1 thru 10 and a CHOOSE 11 thru 20. That would not be good programming. Thanks in advance for any help. RE: Limitation of CHOOSE command - Tim Wessman - 12-31-2013 04:58 PM Look at the on-calc help for choose. The built in help inside the calculator will nearly always be the most accurate. Quote:Syntax: CHOOSE(var, “title”, “item1”, “item2”,[…"item14"]) or CHOOSE(var,"title",{"item1"..."itemN"}) Give a list as item #3. RE: Limitation of CHOOSE command - veeblefester - 12-31-2013 05:36 PM Thanks for the help Tim. |