Input; Data Input Commands; Using Prompt - HP 48gII Advanced User's Reference Manual

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

Advertisement

Input

A program can stop for user input, then resume execution, or can use choose boxes or input forms (dialog
boxes) for input. You can use several commands to get input:
PROMPT (!=to resume).
!
DISP FREEZE HALT (!=to resume).
!
INPUT (`to resume).
!
INFORM
!
CHOOSE
!

Data Input Commands

Key
Command
!°L %IN% :
INFORM
%INFOR%
NOVAL
%NOVAL
CHOOSE
%CHOOS%
KEY
%KEY%
WAIT
%WAIT%
INPUT
%INPUT%
PROMPT
%PROMP%
Using PROMPT ... CONT for Input
PROMPT uses the status area for prompting, and allows the user to use normal keyboard operations during
input.
To enter PROMPT in a program:
1. Enter a string ( with "" delimiters) to be displayed as a prompt in the status area.
2. Enter the PROMPT command (PRG IN menu).
« ... "prompt-string" PROMPT ... »
PROMPT takes a string argument from level 1, displays the string (without the ""delimiters) in the status area,
and halts program execution. Calculator control is returned to the keyboard.
When execution resumes, the input is left on the stack as entered.
To respond to PROMPT while running a program:
1. Enter your input — you can use keyboard operations to calculate the input.
2. Press !=.
The message remains until you press `or − or until you update the status area.
Creates a user-defined input form.
Place holder for the INFORM command. Returned when a value is not present in
an input form field.
Creates a user-defined choose box.
Returns a test result to level 1 and, if a key is pressed, the location of that key (level
2).
Suspends program execution for a specified duration (in seconds, level 1).
Suspends program execution for data input.
Halts program execution for data input.
Description
RPL Programming 1-35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents