Input; Int - HP 48gII Advanced User's Reference Manual

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

Advertisement

See also:
CHOOSE, INPUT, NOVAL, TYPE

INPUT

Type:
Command
Description: Input Command: Prompts for data input to the command line and prevents the user access to
stack operations.
When INPUT is executed, the stack or history area is blanked and program execution is
suspended for data input to the command line. The contents of "stack prompt" are displayed at
the top of the screen. Depending on the second argument (level 1), the command line may also
contain the contents of a string, or it may be empty. Pressing ` resumes program execution
and returns the contents of the command line in string form.
In its general form, the second argument (level 1) for INPUT is a list that specifies the content
and interpretation of the command line. The list can contain one or more of the following
parameters, in any order:
• "command-line prompt", whose contents are placed on the command line for prompting when
the program pauses.
• Either a real number, or a list containing two real numbers, that specifies the initial cursor position
on the command line:
– A real number n at the nth character from the left end of the first row (line) of the
command line. A positive n specifies the insert cursor; a negative n specifies the replace
cursor. 0 specifies the end of the command-line string.
– A list that specifies the initial row and column position of the cursor: the first number in
the list specifies a row in the command line (1 specifies the first row of the command
line); the second number counts by characters from the left end of the specified line. 0
specifies the end of the command-line string in the specified row. A positive row number
specifies the insert cursor; a negative row number specifies the replace cursor.
• One or more of the parameters ALG, , or V, entered as unquoted names:
– ALG activates Algebraic/Program-entry mode.
specifies alpha lock.
– V verifies if the characters in the result string "result", without the " delimiters, compose a
valid object or objects. If the result-string characters do not compose a valid object or
objects, INPUT displays the Invalid Syntax warning and prompts again for data.
You can choose to specify as few as one of the argument 2 (level 1) list parameters. The default
states for these parameters are:
• Blank command line.
• Insert cursor placed at the end of the command-line prompt string.
• Program-entry mode.
• Result string not checked for invalid syntax.
If you specify only a command-line prompt string for the second argument (level 1), you don ' t
need to put it in a list.
!°L
Access:
Input/Output:
See also:
PROMPT, STR

INT

CAS:
Calculate the antiderivative of a function for a given variable at a given point.
3-86 Full Command and Function Reference
IN INPUT
Level 2/Argument 1
"stack prompt"
"stack prompt"
( °is the left-shift of the Nkey).
Level 1/Argument 2
"command-line prompt"
{ list
}
command-line
Level 1/Item 1
"result"
"result"

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents