Post Reply 
Multiple Choice for CHOOSE command
08-22-2018, 09:18 PM (This post was last modified: 08-22-2018 09:25 PM by Han.)
Post: #16
RE: Multiple Choice for CHOOSE command
(08-22-2018 09:12 PM)Carlos295pz Wrote:  In the latest version we already have available the use of INPUT with EVAL to configure a dynamic list of variables Smile
http://www.hpmuseum.org/forum/thread-11114.html

In your example, you are still using statically-defined variables (i.e. 'Vars' is hard coded into the source). In SolveSys, the list of variables (referred to by 'selected' in the code above) is unknown in both size and content.

EDIT: For further clarity, in your example, the X variable will always appear on row 1. But what happens if we wanted to remove 'X' from the list while the program was still running? Then the remaining variables 'Y' and 'Z' will never appear in row 1 because they have been hard coded to row 2 and row 3 respectively.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Multiple Choice for CHOOSE command - Han - 08-22-2018 09:18 PM



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