Post Reply 
LOCAL and INPUT: number of variables allowed
06-27-2017, 04:55 AM
Post: #5
RE: LOCAL and INPUT: number of variables allowed
Hello,

You are quite right, I completely forgot that they was a limit on the number of inputs in an input!
See corresponding line of code:
if (l>7*10) return &HPERInvalidInput; // are you freaking kidding me????

Obviously, I thought that should INPUT be called with more than 70 inputs, they was most likely something quite wrong!

It is often a balancing act between trusting the inputs from the programmer and detecting potentially incorrect ones!

Do you have a realistic case where 70 is not enough?

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-27-2017 04:55 AM



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