Reference Guide

Full Command and Function Reference 3-93
L
MODES FLAG FS
? ( °is the left-shift of the Nkey).
!& H
FLAG FS
?
Input/Output:
Level 1/Argument 1 Level 1/Item 1
n
flag number
0/1
See also: CF, FC?, FC?C, FS?C, SF
FS?C
Type: Command
Description: Flag Set? Clear Command: Tests whether the system or user flag specified by n
flag number
is set, and
returns a corresponding test result: 1 (true) if the flag is set or 0 (false) if the flag is clear. After
testing, clears the flag.
Access:
TEST
LL
FS
?
C
( °is the left-shift of the Nkey).
L
MODES FLAG FS
?
C
( °is the left-shift of the Nkey).
!& H
FLAG FS
?
C
Input/Output:
Level 1/Argument 1 Level 1/Item 1
n
flag number
0/1
Example: If flag –44 is set,
-44 FS?C
returns
1
to level 1 and clears flag –44.
See also: CF, FC?, FC?C, FS?, SF
FUNCTION
Type: Command
Description: Function Plot Type Command: Sets the plot type to FUNCTION.
When the plot type is FUNCTION, the DRAW command plots the current equation as a real-
valued function of one real variable. The current equation is specified in the reserved variable EQ.
The plotting parameters are specified in the reserved variable PPAR, which has the form:
{ (
x
min
, y
min
) (
x
max
, y
max
)
indep res axes ptype depend
}
For plot type FUNCTION, the elements of PPAR are used as follows:
(x
min
, y
min
) is a complex number specifying the lower left corner of PICT (the lower left corner
of the display range). The default value is (–6.5,–3.1) for the HP 48gII and (–6.5,–3.9) for the
HP 50g and 49g+.
(x
max
, y
max
) is a complex number specifying the upper right corner of PICT (the upper right
corner of the display range). The default value is (6.5,3.2) for the HP 48gII and (6.5,4.0) for the
HP 50g and 49g+.
indep is a name specifying the independent variable, or a list containing such a name and two
numbers specifying the minimum and maximum values for the independent variable (the
plotting range). The default value of indep is X.
res is a real number specifying the interval (in user-unit coordinates) between plotted values of
the independent variable, or a binary integer specifying the interval in pixels. The default value is
0, which specifies an interval of 1 pixel.
axes is a list containing one or more of the following, in the order listed: a complex number
specifying the user-unit coordinates of the plot origin, a list specifying the tick-mark annotation,
and two strings specifying labels for the horizontal and vertical axes. The default value is (0,0).
ptype is a command name specifying the plot type. Executing the command FUNCTION places
the name FUNCTION in PPAR.
depend is a name specifying a label for the vertical axis. The default value is Y.
The current equation is plotted as a function of the variable specified in indep. The minimum and
maximum values of the independent variable (the plotting range) can be specified in indep;