tested.

Flags 5 and 6 allow you to control overflow conditions that occur during a program. Setting flag 5 stops a program at the line just after the line that caused the overflow. By testing flag 6 in a program, you can alter the program's flow or change a result anytime an overflow occurs.

Flags 7, 8, and 9 control the display of fractions. Flag 7 can also be controlled from the keyboard, When Fraction–display mode is toggled on or off by pressing zĀŠ, flag 7 is set or cleared as well.

Flag

Fraction–Control Flags

 

Status

 

 

 

 

 

7

8

 

9

 

 

 

 

 

Clear

Fraction display

Fraction

 

Reduce

(Default)

off; display real

denominators

 

fractions to

 

numbers in the

not greater than

 

smallest form.

 

current display

the /c value.

 

 

 

format.

 

 

 

Set

Fraction display

Fraction

 

No reduction of

 

on; display real

denominators

 

fractions. (Used

 

numbers as

are factors of

 

only if flag 8 is

 

fractions.

the /c Value.

 

set.)

 

 

 

 

 

Flag 10 controls program execution of equations:

When flag 10 is clear (the default state), equations in running programs are evaluated and the result put on the stack.

When flag 10 is set, equations in running programs are displayed as messages, causing them to behave like a VIEW statement:

1.Program execution halts.

2.The program pointer moves to the next program line.

3.The equation is displayed without affecting the stack. You can clear the display by pressing aor Ā†. Pressing any other key executes that key's function.

13–10 Programming Techniques

File name 32sii-Manual-E-0424

 

Printed Date : 2003/4/24

Size : 17.7 x 25.2 cm