Post Reply 
HP50g R/S key
06-30-2019, 04:13 PM
Post: #11
RE: HP50g R/S key
(06-30-2019 04:11 PM)BruceH Wrote:  
(06-30-2019 02:56 PM)Neve Wrote:  But what if you WANT/NEED to be prompted for data entry?

The INPUT command displays a prompt string; the user then enters the value on the command line; and presses ENTER to submit it and continue the program.

If there are several values required at once then the INFORM command can be used to create an input form.

For fixed choices from a predefined (or precalculated) list then there is the CHOOSE command.

A common technique is to write a function that accepts its parameters from the stack so that it can easily be called from within a larger program, but use an input form as a wrapper for when it is called on its own and you want a reminder of what the parameters are.

Thank you. I’ll try that too.

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP50g R/S key - Neve - 06-30-2019, 01:31 PM
RE: HP50g R/S key - grsbanks - 06-30-2019, 01:50 PM
RE: HP50g R/S key - Neve - 06-30-2019, 01:58 PM
RE: HP50g R/S key - Neve - 06-30-2019, 02:01 PM
RE: HP50g R/S key - grsbanks - 06-30-2019, 02:15 PM
RE: HP50g R/S key - Neve - 06-30-2019, 02:33 PM
RE: HP50g R/S key - grsbanks - 06-30-2019, 02:41 PM
RE: HP50g R/S key - Neve - 06-30-2019, 02:56 PM
RE: HP50g R/S key - BruceH - 06-30-2019, 04:11 PM
RE: HP50g R/S key - Neve - 06-30-2019 04:13 PM
RE: HP50g R/S key - DavidM - 06-30-2019, 04:43 PM
RE: HP50g R/S key - Neve - 06-30-2019, 05:33 PM
RE: HP50g R/S key - grsbanks - 06-30-2019, 03:05 PM



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