13–10 Programming Techniques
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
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.
Fraction–Control Flags
Flag
Status
7 8 9
Clear
(Default)
Fraction display
off; display real
numbers in the
current display
format.
Fraction
denominators
not greater than
the /c value.
Reduce
fractions to
smallest form.
Set Fraction display
on; display real
numbers as
fractions.
Fraction
denominators
are factors of
the /c Value.
No reduction of
fractions. (Used
only if flag 8 is
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
a
or
. Pressing any other key executes
that key's function.