home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / sep91.zip / 9N09104B < prev    next >
Text File  |  1991-07-10  |  561b  |  16 lines

  1.  
  2.      ticks = 0;
  3.      while(ticks < stopcount) 
  4.           {
  5.           ticks++;            /* ERROR: pre-incrementing                                    
  6.                                 causes last data entry to 
  7.                                 be written past the end of the
  8.                                 array before the while limit                                    
  9.                                 is reached */
  10.           if(dataready)
  11.                {
  12.                *(datapointer + ticks) = process_data();
  13.                }
  14.            }
  15.  
  16.