Post Reply 
[REPORT] problem with choose CMD
12-03-2016, 06:12 PM
Post: #5
RE: problem with choose CMD
(12-03-2016 05:33 PM)StephenG1CMZ Wrote:  Compsystems, a few words of explanation of what it is that you are trying to achieve would help greatly.

Since you have several inputs but want a 0 or 1 rather than a position...
Do you want to enter (a,b,c,d)
And see {0,1,0,1}
for example...depending on which values the user has entered?

Or something else?

The fact that your example says it is OK from A to O suggests the difficulty may be related to keyboard mapping..Up to "O" the alphabet is unambiguous and items can be chosen by tapping the relevant key instead of scrolling. . After "O" that is no longer possible as the alphabet begins to overlap the numbers on the HP Prime keypad.

I think he wants 1 and 0 for OK and CANCEL instead of VALUE and 0 for OK and CANCEL.

CHOOSE is probably using the same variable for both, I don't see the benefit of adding an extra step besides nitpicking something.

Just use:
Code:
IF( choose(var,"title",{something,...}) ) THEN
// use var here, user did not press CANCEL
ELSE
// user pressed CANCEL
END;

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: problem with choose CMD - eried - 12-03-2016, 04:40 PM
RE: problem with choose CMD - compsystems - 12-03-2016, 05:05 PM
RE: problem with choose CMD - StephenG1CMZ - 12-03-2016, 05:33 PM
RE: problem with choose CMD - Han - 12-04-2016, 04:21 AM
RE: problem with choose CMD - Tim Wessman - 12-05-2016, 03:28 PM
RE: problem with choose CMD - eried - 12-03-2016 06:12 PM
RE: problem with choose CMD - StephenG1CMZ - 12-03-2016, 06:27 PM



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