Re: HP PRIME: Hide return value from program and swap Edit with Run Message #2 Posted by Joe Horn on 9 Nov 2013, 11:59 a.m., in response to message #1 by vrrr
Quote: 1. I have made a program that uses the input command and then calculates a number via a msgbox call. When I run the command, I get prompted for the input, I press Enter and the result is displayed via a msgbox. When I press OK or Enter, I see a return value of 0 with a green information 'i' icon. Is there a way to turn this 'feature' off?
Two suggestions come to mind. (a) Don't display the result in a message box; just RETURN it. That way it'll be the value which appears at the end instead of the annoying zero. (b) Don't run it with the Run button. Run it by name from Home. Either type its name (if it's short enough), or press Toolbox User to echo the name onto the edit line. Of course, if you run it from Home, you'll have to put its input(s) in parentheses after the name, unless your program explicitly prompts for inputs.
Quote: 2. In my program list (Shift-1), when I highlight the app I want using the directional keypad and press Enter, it goes into Edit mode. Can I switch the position of Edit and Run so that when I press Enter it runs the program instead of editing it? If I can't switch the softkey menus around can I run the program without touching Run on the display?
No, you can't rearrange the soft keys. Yes, you can run it without the Run button, by running it from Home (or CAS). See above for details.
-Joe-
|