Post Reply 
Control of input parameters in prgms./fns.
12-27-2013, 04:34 AM
Post: #3
RE: Control of input parameters in prgms./fns.
(12-27-2013 02:26 AM)John P Wrote:  Is there any way, inside a program/function in HP Prime, to tell haw many input parameters were passed and modify the prgm./fn. behavior accordingly. As far as I know if you declared 3 parameters and enter while running the prgm./fn. two or one you will get error.
Thanks.

One idea would be to pass a single input -- a list. The list itself can contain however many objects (parameters) you want. You just need to add code to parse the list according to your needs.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Control of input parameters in prgms./fns. - Han - 12-27-2013 04:34 AM



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