home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / languages / c / oslib / Examples / p2-740 < prev    next >
Text File  |  1994-03-24  |  492b  |  17 lines

  1. #include "hourglass.h"
  2. #include "os.h"
  3.  
  4. void example (void)
  5.  
  6. {  hourglass_on ();
  7.       hourglass_on ();
  8.       hourglass_percentage (10);    /*sets to 10*/
  9.       hourglass_percentage (20);    /*sets to 20*/
  10.          hourglass_on ();
  11.          hourglass_percentage (50); /*DOESN'T set to 50*/
  12.          hourglass_off ();
  13.       hourglass_percentage (30);    /*sets to 30*/
  14.       hourglass_off ();             /*turns off percentages*/
  15.    hourglass_off ();                /*turns off hourglass*/
  16. }
  17.