Post Reply 
LOCAL and INPUT: number of variables allowed
06-26-2017, 05:38 AM
Post: #3
RE: LOCAL and INPUT: number of variables allowed
Hello,

The limit for any function parameter count is 16. ie, no function can take more than 16 parameters...

LOCAL is a function that takes n pairs of parameters. The first item in each pair is a variable name and the 2nd the variable initialization value (0 by default if not provided).

As a result, LOCAL is limited to 8 (16/2) simultaneous definitions.

INPUT, as a function, is also limited to 16 parameters. BUT since the variables are put in a single list, and since thee list size limit is 10 000, there is no practical limits to the number of variables that INPUT can handle.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: LOCAL and INPUT: number of variables allowed - cyrille de brébisson - 06-26-2017 05:38 AM



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