The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
issue when cancelling INPUT
09-28-2015, 08:22 PM
Post: #1
issue when cancelling INPUT
Hello,
I saw complex usage of INPUT command in this forum, but I have an issue with a quite simple INPUT usage, I'm surprised nobody reported it already. (I searched but I may missed)

I simply try to cancel an INPUT with the cancel soft key (or by pressing ON key, result is the same btw)

I made the INPUT as simple as possible, one argument.
I usually cover all cases (like cancelling), then I started to check INPUT return as stated in builtin help (it's supposed to return 0 on cancellation).

Here is the program :
[Image: w85mkk.png]
And here is what's happend when canceled :
[Image: r7991v.png]

Please can you check if your behave like mine ?

Code:
EXPORT failure()
BEGIN
LOCAL A;
IF INPUT(A)==0 THEN KILL; END; // canceled
PRINT(A);
END;

Firmware 8151,
I tested with EXPORTed var, without the KILL, in every case it behave like this, is it a bug ?

Thank you,
Best 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: 3 Guest(s)