Post Reply 
Minor bug in CHOOSE (rev. 6975)
01-16-2015, 10:20 PM (This post was last modified: 01-16-2015 10:54 PM by Snorre.)
Post: #5
RE: Minor bug in CHOOSE (rev. 6975)
Hello Tim,

Therefore I'd call it a minor bug (maybe more an inconvenience) and had never even noticed if I hadn't accidently hit the user key twice and got curious about the second choose box popping up.
I tried the same with an input form, but that rejected to open another one while the first was still open. Also, [View] and [Paste] won't show up while another choose box is waiting. Maybe there's a check that could easily be adapted to user choose boxes too; something similiar to the PPL workaround
Code:
choosing:=0;
EXPORT MYCHOOSE(selection,title,options)
BEGIN
  IF choosing THEN RETURN 0; END;
  choosing:=1;
  CHOOSE(selection,title,options);
  choosing:=0;
  RETURN selection;
END;
(The downside: slightly different semantics and doesn't help with Prime-internal choose boxes)

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


Messages In This Thread
Minor bug in CHOOSE (rev. 6975) - Snorre - 01-16-2015, 02:35 PM
RE: Minor bug in CHOOSE (rev. 6975) - Han - 01-16-2015, 04:15 PM
RE: Minor bug in CHOOSE (rev. 6975) - Snorre - 01-16-2015 10:20 PM



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