Post Reply 
choose function behaviour
11-26-2015, 04:31 AM
Post: #4
RE: choose function behaviour
(11-25-2015 06:25 PM)ji3m Wrote:  Ok. But what deterimes remembering last choice?

Is this what you had in mind? The variable you pass to CHOOSE serves as both the default choice and as the choice made.

Code:

EXPORT Remember()
BEGIN
 LOCAL c;

 c:=1;
 REPEAT
  CHOOSE(c,"Remember","one","two","three","exit");
  MSGBOX("You selected "+c); 
 UNTIL c==4;

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


Messages In This Thread
choose function behaviour - ji3m - 11-25-2015, 03:38 PM
RE: choose function behaviour - ji3m - 11-25-2015, 06:25 PM
RE: choose function behaviour - Wes Loewer - 11-26-2015 04:31 AM
RE: choose function behaviour - ji3m - 11-26-2015, 06:56 PM



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