home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / dev / lang / struct / speedtests / test3.c < prev    next >
C/C++ Source or Header  |  1993-08-21  |  248b  |  18 lines

  1. ;/* Execute me to compile.
  2. sc NOSTKCHK NOSTDIO Test3.c
  3. slink Test3.o to Test3 lib lib:sc.lib
  4. quit
  5. */
  6.  
  7. void __saveds main()
  8. {
  9.   long z = 0, a = 0, k;
  10.  
  11.   for (z = 1;z < 6000000;z++)
  12.   {
  13.     k = z % 2;
  14.     if (k == 0) a += 7;
  15.     else a += 15;
  16.   };
  17. }
  18.