LOCAL and INPUT: number of variables allowed

06262017, 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. 

« Next Oldest  Next Newest »

Messages In This Thread 
LOCAL and INPUT: number of variables allowed  Eddie W. Shore  06222017, 12:10 PM
RE: LOCAL and INPUT: number of variables allowed  Tim Wessman  06222017, 04:25 PM
RE: LOCAL and INPUT: number of variables allowed  cyrille de brébisson  06262017 05:38 AM
RE: LOCAL and INPUT: number of variables allowed  Han  06262017, 08:36 PM
RE: LOCAL and INPUT: number of variables allowed  cyrille de brébisson  06272017, 04:55 AM
RE: LOCAL and INPUT: number of variables allowed  Han  07022017, 05:20 PM

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