Post Reply 
Invalid Input error: Suggestions?
03-09-2014, 05:58 PM
Post: #1
Invalid Input error: Suggestions?
Thanks for earlier suggestions about maximum number of variables in a LOCAL statement. Having fixed that, I move on to thornier errors. When attempting to run the program I now get the message "Probability2 Error: Invalid Input" (the program name is Probability2). I have searched for a discussion of the Invalid Input error and found discussions that mention invalid variable names in LOCAL statements and the misuse of INPUT statements. I have scrubbed and/or changed variable names in the LOCAL statements and have no INPUT statements. Any thoughts as to where I might look next for the problem?
Again, thank you for suggestions.
Ben Fairbank
Find all posts by this user
Quote this message in a reply
03-09-2014, 06:13 PM
Post: #2
RE: Invalid Input error: Suggestions?
You might try the debug feature next. Assuming your program compiles okay, then instead of 'running' it use the 'debug' feature, and be on the lookout for spelling or syntax errors to the left and one line above where it crashes.

You can also post your code so far, and others may be able to help you sort it all out.

-Dale-
Find all posts by this user
Quote this message in a reply
03-09-2014, 06:37 PM
Post: #3
RE: Invalid Input error: Suggestions?
Thank you! Using debug traced it to my feeding an invalid value to PIXON().
(That must have been the "input".)I appreciate your reply and for pointing out usefulness of debug.
Ben
Find all posts by this user
Quote this message in a reply
03-10-2014, 03:13 AM
Post: #4
RE: Invalid Input error: Suggestions?
Don't forget to press the "Info" menu option to narrow down where the error occurred.

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




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