Post Reply 
LOCAL and INPUT: number of variables allowed
07-02-2017, 05:20 PM (This post was last modified: 07-02-2017 05:21 PM by Han.)
Post: #6
RE: LOCAL and INPUT: number of variables allowed
(06-27-2017 04:55 AM)cyrille de brébisson Wrote:  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

The equation library app I wrote has a screen that allows users to choose which system of equations they wish to delete. I believe there are 102 systems in the current implementation. As a workaround I have simply created "pages". I used INPUT so that I could have multiple check boxes. Each system gets its own entry line since users could in theory have a very long title for the system of equations.

   

Graph 3D | QPI | SolveSys
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 - Han - 07-02-2017 05:20 PM



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