Bug in CHOOSE (10637)
|
11-06-2016, 02:22 PM
(This post was last modified: 11-06-2016 04:06 PM by slawek39.)
Post: #1
|
|||
|
|||
Bug in CHOOSE (10637)
CHOOSE command CHOOSE(var, ..., ...) when you press the Esc should save 0 to var, but the variable var is left unchanged.
|
|||
11-06-2016, 04:59 PM
Post: #2
|
|||
|
|||
RE: Bug in CHOOSE (10637)
(11-06-2016 04:44 PM)moonbeam Wrote:(11-06-2016 02:22 PM)slawek39 Wrote: CHOOSE command CHOOSE(var, ..., ...) when you press the Esc should save 0 to var, but the variable var is left unchanged. In the version of the system (8151) behavior was different. Additionally Help in the calculator is consistent with the (8151) instead of (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 anythingWhat is your operating system (10637) or maybe older? |
|||
11-06-2016, 06:46 PM
(This post was last modified: 11-06-2016 06:49 PM by compsystems.)
Post: #4
|
|||
|
|||
RE: Bug in CHOOSE (10637)
you are agree with my correction help?
ORIGINAL CHOOSE HELP (wrong ) Quote:Syntax: best Quote:Syntax: |
|||
11-06-2016, 06:58 PM
Post: #5
|
|||
|
|||
RE: Bug in CHOOSE (10637)
(11-06-2016 06:46 PM)compsystems Wrote: you are agree with my correction help? I agree, but for this change, I have to modify my old program to work properly. |
|||
11-07-2016, 07:54 AM
Post: #6
|
|||
|
|||
RE: Bug in CHOOSE (10637)
Hello,
The doc seems to be incorrect. The variable is not updated if the user cancels... Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
11-16-2016, 04:21 PM
(This post was last modified: 11-16-2016 04:52 PM by StephenG1CMZ.)
Post: #7
|
|||
|
|||
RE: Bug in CHOOSE (10637)
(11-06-2016 06:46 PM)compsystems Wrote: you are agree with my correction help? Just a minor documentation improvement: "Posidentifier" is not the best name to choose ... Users learning this might wonder whether the identifier is POSitive if a choice has been made and negative otherwise. I would suggest "CHOOSE(choice"...for selecting a single item, or "CHOOSE(selection"...for selecting a list of items (CHOOSE cannot select more than one item from a list - this is instead done using INPUT - but perhaps it will). Also, the documentation could document how many items can be chosen from. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)