Inform - HP 48gII Advanced User's Reference Manual

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

Advertisement

Input/Output:
See also:
DEPND

INFORM

Type:
Command
Description: User-Defined Dialog Box Command: Creates a user-defined input form (dialog box).
INFORM creates a standard dialog box based upon the following specifications:
Variable
"title"
{s
s
s
...
1
2
format
{ resets }
{ init }
If you exit the dialog box by selecting
item 1 or level 2, and puts a 1 in item 2 or level 1. (If a field is empty, NOVAL is returned as a
place holder.) If you exit the dialog box by selecting
!°L
Access:
Input/Output:
Level 2/Argument 1
Level 1/Argument 2
x
start
Title. This appears at the top of the dialog box.
}
Field definitions. A field definition (s
n
label, or { "label" "helpInfo" type
text that appears near the bottom of the screen, and an optional list of valid
object types for that field. If object types aren ' t specified, all object types are
valid. For information about object types, see the TYPE command.
When creating a multi-column dialog box, you can span columns by using an
empty list as a field definition. A field that appears to the left of an empty
field automatically expands to fill the empty space.
Field format information. This is the number col or a list of the form { col tabs
}: col is the number of columns the dialog box has, and tabs optionally
specifies the number of tab stops between the labels and the highlighted
fields. This list can be empty. col defaults to 1 and tabs defaults to 3.
Default values displayed when
list in the same order as the fields were specified. To specify no value, use the
NOVAL command as a place holder. This list can be empty.
Initial values displayed when the dialog box appears. Specify initial values in
the list in the same order as the fields were specified. To specify no value, use
the NOVAL command as a place holder. This list can be empty.
IN INFORM
L
/A
L
/A
5
1
4
2
"title"
{s
s
... s
}
1
2
n
"title"
{s
s
... s
}
1
2
n
L = Level; A = Argument; I = item
'global'
{ global }
{ global x
x
}
start
end
{x
x
}
start
end
x
end
Function
type
0
1
RESET
or `, INFORM returns the field values { vals } in
OK
CANCEL
( °is the left-shift of the Nkey).
L
A
L
/A
3
3
2
4
format
{resets }
format
{resets }
Full Command and Function Reference 3-85
Level 1/Item 1
) can have two formats: "label", a field
x
... type
}, a field label with optional help
n
is selected. Specify reset values in the
or B, INFORM returns 0.
L
/A
L
/I
1
5
2
{init }
{ vals }
{init }
L
/I
1
1
2
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents