home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / BBEdit / MacBob 1.0ß2 / Examples / Test.bob < prev    next >
Encoding:
Text File  |  1995-12-07  |  154 b   |  15 lines  |  [TEXT/R*ch]

  1. main ()
  2. {
  3.     test(5);
  4.     test(12);
  5. }
  6.  
  7. test (n; i)
  8. {
  9.     for (i = 0; i <= n; ++i) {
  10.         if (i % 2 == 0) continue;
  11.         if (i > 10) break;
  12.         print("i=", i, "\n");
  13.     }
  14. }
  15.