[WP 34S]How to implement an INPUT function

12122013, 12:47 AM
Post: #1




[WP 34S]How to implement an INPUT function
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 AZ 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:


12122013, 08:08 AM
Post: #2




RE: [WP 34S]How to implement an INPUT function
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.


12132013, 11:08 PM
(This post was last modified: 12132013 11:14 PM by Marcus von Cube.)
Post: #3




RE: [WP 34S]How to implement an INPUT function
RCL αA as a synonym for RCL 01 does not fit easily into our encoding scheme:
Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basiccompare.html 

12142013, 06:57 AM
(This post was last modified: 12152013 08:21 AM by Paul Dale.)
Post: #4




RE: [WP 34S]How to implement an INPUT function
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 

12152013, 06:15 AM
Post: #5




RE: [WP 34S]How to implement an INPUT function
Bonjour Didier,
Pauli is right. Please also see pp. 80f in the printed manual. d:) 

12152013, 04:15 PM
Post: #6




RE: [WP 34S]How to implement an INPUT function
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 

« Next Oldest  Next Newest »

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