Setting and clearing flags, Method 1, Method 2 – HP 49g Graphing Calculator User Manual

Page 21: Setting and clearing flags -2

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Setting and clearing Flags

Method 1

Use this method only if the flag you want to change is listed in the System

Flags list.

1. With the System Flags list displayed, higlilight the flag that you want to

set or clear.

You can do this by either:

® pressing the ® or ® keys imtil the flag you want is highlighted or
• typing the first digit of the number of the flag.

See the previous section for instructions on displaying the flags.

2. Press

CHK.

If the flag was set before, it is cleared; if it was clear before, it is now

set.

3. Press

OK

or (ENTE^ to return to the Calculator Modes screen and

OK

or

(ENTER) again to return to yom default screen.

Method 2

If you know the number of the system flag you want to change, you can

change the flag from the command line. The syntax you use depends on

the operating mode you have chosen: algebraic or RPN.

In algebraic mode, the syntax is:

commandijlag)

In RPN mode, enter the flag on the first level of the stack and then enter

the appropriate command. The command for setting a flag is SF and the

command for clearing a flag is CF. (The flag commands are described on

page 2-4.)

For example, to set flag -40 in algebraic mode, you enter SF(-40) and

press (ENTER). In RPN mode, you enter -40 onto level 1 of the stack, enter SF

onto the command line and press (ENTER).

Similarly, to clear flag ^0 in algebraic mode, you enter CF(-40) and press

(ENTER). In RPN mode, you enter -40 onto level 1 of the stack, enter CF onto

the command line and press (ENTER).

You can use this method to set and clear all flags, not just those listed on
the System Flags list.

Page 2-2

System flags

Advertising