Example: Controlling the Fraction Display.

The following program lets you exercise the calculator's fraction–display capability. The program prompts for and uses your inputs for a fractional number and a denominator (the /c value). The program also contains examples of how the three fraction–display flags (7, 8, and 9) and the "message–display" flag (10) are used.

Messages in this program are listed as MESSAGE and are entered as equations:

1.Set Equation–entry mode by pressing H(the EQN annunciator turns on).

2.Press Lletter for each alpha character in the message; press p(the gkey) for each space character.

3.Press ‘ to insert the message in the current program line and end Equation–entry mode.

13–14Programming Techniques

Page 198
Image 198
HP 33s Scientific manual 13-14Programming Techniques, Example Controlling the Fraction Display