[BUG] INPUT -- myriad bugs
|
09-16-2014, 07:09 PM
(This post was last modified: 09-16-2014 08:10 PM by Han.)
Post: #1
|
|||
|
|||
[BUG] INPUT -- myriad bugs
Despite specifying a real-type only input variable, the editline insists on inserting single quotes around values. So when a user enters -3 it appears as '-3' on the editline. This of course leads into an invalid input error.
On top of that, the editline is then replaced with the topmost editline from the history -- but not the RPN history, it grabs it from the non-RPN home screen's history. 2 bugs in one... not exactly a bargain :-( Edit: Looks like it is even worse than I thought. Code: EXPORT INEX() Now, enter in the values 3, 4, 5, 6, 7, 8, 9 and leave the two checkboxes checked. The output is: { 1, 1, 5, 6, 7, 8, 9, 0, 0 } -- THIS IS WRONG! Again use 3, 4, 5, 6, 7, 8, 9 and now leave the checkboxes unchecked! -- same output?! So the checkboxes do absolutely nothing! I started to suspect the an off-by-one error tied to the line number of a field. So I moved tmode and wmode checkboxes to front of the varslist, and this is now the output: { 5, 6, 7, 8, 9, [0], [0], 3, 4} ?! Notice the [0]'s There is yet ANOTHER bug with INPUT: if a variable is a choosebox type, and is not the last entry in the variables list, then the emulator crashes. If it doesn't crash, then the list is returned as the result, rather than the choice... Long story short, DON'T USE THE ADVANCED FORM OF INPUT() in firmware 6030! Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[BUG] INPUT -- myriad bugs - Han - 09-16-2014 07:09 PM
RE: [BUG] INPUT -- myriad bugs - toml_12953 - 09-17-2014, 01:36 PM
RE: [BUG] INPUT -- myriad bugs - rafa22 - 09-24-2014, 02:32 AM
|
User(s) browsing this thread: 4 Guest(s)