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:

"commandline 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 commandline 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 commandline 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/Programentry 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 resultstring chara cters 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 commandline prompt string.

Programentry mode.

Result string not checked for invalid syntax.

 

If you specify only a commandline prompt string for the second argume nt (level 1), you don’t

 

need to put it in a list.

 

 

 

Access:

!°LIN INPUT

( °is the leftshift of the

Nkey).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 1/Item 1

 

 

 

 

 

 

 

 

“stack prompt”

“commandline prompt”

“result”

 

 

“stack prompt”

{ listcommandline }

“result”

 

 

 

 

 

 

See also:

PROMPT, STR→

 

 

 

 

 

 

 

 

 

INT

 

 

 

 

 

Type:

Function

 

 

 

Description:

Calculates the antiderivative of a function for a given variable, at a given point.

Access:

Catalog, …µ

 

 

 

Input:

Level 3/Argument 1: A function.

 

 

 

 

Level 2/Argument 2: The variable to obtain the derivative with respect to.

 

 

Level 1/Argument 3: The point at which to calculate the antiderivative. This point can be a

 

variable or an expression.

 

 

 

Output: The antiderivative of the function for the given variable, at the point you specified.

Flags: Exact mode must be set (flag –105 clear). Numeric mode must not be set (flag –3 clear). Radians mode must be set (flag –17 set).

3118 Full Command and Function Reference

Page 238
Image 238
HP 50g Graphing, 48gII Graphing manual Int, Stack prompt Commandline prompt Result, Prompt, Str→