Post Reply 
issue when cancelling INPUT
09-29-2015, 05:57 AM (This post was last modified: 09-29-2015 06:18 AM by primer.)
Post: #4
RE: issue when cancelling INPUT
(09-28-2015 10:23 PM)Helge Gabert Wrote:  With odd characters appearing, you could have a memory corruption issue. You might want to do a hard (paperclip) reset, and reformat.
I already paperclip on real prime. But now I perform test on virtual, I reseted it too. Is it possible that both have memory corruption ?

(09-28-2015 10:23 PM)Helge Gabert Wrote:  because single, upper case, letters are reserved for global reals.
yes I know, it's reserved, but :
First : being reserved does not mean you are not allowed to use it on program without a crash,
Second : I'm not using the reserved variaible because I declared locally a variable. It's a different variable.

Nevertheless, I did perform all tests I could : "LOCAL a" , "EXPORT a", "LOCAL ABC", "EXPORT ABC", also using reserved var (without "LOCAL A")... in every case it fails when cancelled.

(09-28-2015 10:23 PM)Helge Gabert Wrote:  Does this work for you?
no.
I mean, program *does* work, but when you cancel INPUT in this program, it behaves wrongly.

Btw, sorry but I think you misuse the input check in your program, you are not checking user cancellation with your :
INPUT(a);
IF a==0 THEN
You are only checking "does user filled 0 ?", which is not the same... as checking cancellation.
In builtin-help, it's written : "If user press cancel menu key, var is not updated and 0 is returned", did you read it ?


Regards

primer
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
issue when cancelling INPUT - primer - 09-28-2015, 08:22 PM
RE: issue when cancelling INPUT - primer - 09-29-2015 05:57 AM
RE: issue when cancelling INPUT - Tyann - 09-29-2015, 10:54 AM
RE: issue when cancelling INPUT - primer - 09-29-2015, 07:30 PM
RE: issue when cancelling INPUT - Tyann - 09-30-2015, 05:17 AM
RE: issue when cancelling INPUT - primer - 09-30-2015, 06:49 AM
RE: issue when cancelling INPUT - eried - 09-30-2015, 03:01 PM
RE: issue when cancelling INPUT - primer - 09-30-2015, 08:41 PM



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