[WP 34S]How to implement an INPUT function - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: Not HP Calculators (/forum-7.html) +--- Forum: Not quite HP Calculators - but related (/forum-8.html) +--- Thread: [WP 34S]How to implement an INPUT function (/thread-33.html) |
[WP 34S]How to implement an INPUT function - Didier Lachieze - 12-12-2013 12:47 AM In the old forum under the thread HP35s Calculator Max Rope Tension Program, Thomas Klemm provided a very neat program for the HP 35S in 22 steps. I was looking to port this to the WP 34S when I realized that on the 34S there is no equivalent of the 35S INPUT function, mostly I presume because the 34S doesn't have the same A-Z alphanumeric variables. One of the advantages of the 35S INPUT function is that it allows the user to check the value of the variables already stored and to enter only the ones that are changing between two runs of the program. So I tried to keep the same program user interface by implementing a mapping of the A to Z variables to the 34S global registers 00 to 26. Here is the result:
Code:
RE: [WP 34S]How to implement an INPUT function - Didier Lachieze - 12-12-2013 08:08 AM I understand that there is no more space available for new functions but it would be cool to be able on the WP 34S to access global registers via letters, for example: RCL αL recalling global register 012. RE: [WP 34S]How to implement an INPUT function - Marcus von Cube - 12-13-2013 11:08 PM RCL αA as a synonym for RCL 01 does not fit easily into our encoding scheme:
RE: [WP 34S]How to implement an INPUT function - Paul Dale - 12-14-2013 06:57 AM Marcus is correct. We've basically exhausted the command encoding on the 34S. The triple alpha arguments are a bit of a hack that caused a lot more trouble than they originally appeared to. This will be completely redesigned for the 43S. We could add more functions, but each would have to be carefully justified and I can't see how the 35S INPUT function would fit. The 34S has a plethora of input commands. Want to display a value, an alpha string and wait for user input? We've got commands for that. Even though there is nothing exactly equivalent to the 35S INPUT command, we have sufficient flexibility to implement reasonable input schemes. In fact, I'd even go as far as saying better. The 35S INPUT is fairly restricted -- why a single letter when you can display a proper name? - Pauli RE: [WP 34S]How to implement an INPUT function - walter b - 12-15-2013 06:15 AM Bonjour Didier, Pauli is right. Please also see pp. 80f in the printed manual. d:-) RE: [WP 34S]How to implement an INPUT function - Didier Lachieze - 12-15-2013 04:15 PM Marcus, Pauli & Walter, many thanks for your answers. I understand that the current implementation is pushing the 30b to it's limits and even beyond ... While the 35S alphanumeric variables (coming I think from the 32S) make for simple formula programming, the 34S is much more powerful with some inherent complexity... I'm looking forward to the wonders you'll do with the 43s |