13–16 Programming Techniques
File name 33s-E-Manual-1008-Publication(1st).doc Page : 386
Printed Date : 2003/10/8 Size : 13.7 x 21.2 cm
Use the above program to see the different forms of fraction display:
Keys:
(In RPN mode)
Display: Description:
t
F
value
Executes label F; prompts for a
fractional number (V).
2.53
¥
value
Stores 2.53 in V; prompts for
denominator (D).
16
¥
Stores 16 as the /c value.
Displays message, then the
decimal number.
¥
Message indicates the fraction
format (denominator is no
reater
than 16), then shows the fraction.
indicates that the numerator is
"a little below" 8.
¥
Message indicates the fraction
format (denominator is factor of
16), then shows the fraction.
¥
Message indicates the fraction
format (denominator is 16), then
shows the fraction.
¥
Å
º
·
{
}
Ë
0
Stops the pro
ram and clears fla
10
Loops
Branching backwards — that is, to a label in a previous line — makes it possible
to execute part of a program more than once. This is called looping.