HP 33s User Manual

Page 199

Advertising
background image

Programming

Techniques

13–15

Program Lines:

(In ALG mode)

Description:

   

Begins the fraction program.

  

Clears three fraction flags.

  

   

   

Displays messages.

 

Selects decimal base.

 "! #

Prompts for a number.

 "! 

Prompts for denominator (2 – 4095).

  #

Displays message, then shows the decimal
number.

  

   

  !

   

  +F

Sets /c value and sets flag 7.

   #

   !  

Displays message, then shows the fraction.

   

  !

  

Sets flag 8.

  ! 

Displays message, then shows the fraction.

   

  !

  

Sets flag 9.

  % 

Displays message, then shows the fraction.

   

  !

  ! 

Goes to beginning of program.

Checksum and length: 6F14 123

Advertising