HP 48gII Advanced User's Reference Manual page 69

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

To set up an input form:
1. Enter a title string for the input for the input form (use @Õ).
2. Enter a list of field specifications.
3. Enter a list of format options.
4. Enter a list of reset values (values that appear when RESET is pressed).
5. Enter a list of default values.
6. Execute the INFORM command.
Enter a title "FIRST ONE" `.
Example:
Specify a field { "Name:" } `.
Enter format options (one column, tabs stop width five) { 1 5 } `.
Enter reset value for the field {"THERESA"} `.
Enter default value for the field {"WENDY"} `.
Execute INFORM (!°L%IN% %INFOR%).
The screen on the left appears. Press L%RESET% %OK% and the screen on the right appears.
You can specify a help message and the type of data that must be entered in field by entering field specifications
as lists. For example, {{"Name:" "Enter your name" 2}} defines the Name field, displays
Enter your name across the bottom of the input form, and accepts only object type 2 (strings) as input.
To set up a choose box:
1. Enter a title string for the choose box.
2. Enter a list of items. If this is a list of two-element lists, the first element is displayed in the choose box, and
the second element is returned to level 2 when OK is pressed.
3. Enter a position number for the default highlighted item. (0 makes a view-only choose box.)
4. Execute the CHOOSE command.
Enter a title "FIRST ONE" `.
Example:
Enter a list of items {ONE TWO THREE } `.
Enter a position number for default highlighted value 3 `.
Execute CHOOSE (!°L%IN% %CHOOS%).
Example:
The following choose box appears:
Example:
The following program uses input forms, choose boxes, and message boxes to create a simple
phone list database.
RPL Programming 1-43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents