Post Reply 
Bug in CHOOSE (10637)
11-06-2016, 05:08 PM
Post: #3
RE: Bug in CHOOSE (10637)
(11-06-2016 04:42 PM)compsystems Wrote:  If the variable 'a' must be reassigned to zero when press [ESC] key, indicating that not chose anything

PHP Code:
export test_choose()
begin
 local a
;
 
a:=123;
 
choose(a,"test choose output",{"a","b","c"});
 return(
a); 
end

out:
0 for [ESC] key (not selection) and not 123,
1 or 2 or 3 for selection "a" or "b" or "c" respectively, and
"Program interrupted" for [on] key (abort)
.
What is your operating system (10637) or maybe older?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug in CHOOSE (10637) - slawek39 - 11-06-2016, 02:22 PM
RE: Bug in CHOOSE (10637) - compsystems - 11-06-2016, 06:46 PM
RE: Bug in CHOOSE (10637) - slawek39 - 11-06-2016, 06:58 PM
RE: Bug in CHOOSE (10637) - StephenG1CMZ - 11-16-2016, 04:21 PM



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