home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / language / sozobon1 / until.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-23  |  230 b   |  18 lines

  1. /*
  2.  *    UNTIL.H        ...some fun #defines...        -Dal
  3.  */
  4.  
  5. #define    repeat            do
  6. #define    until(cond)        while(!(cond))
  7. #define    HELL_FREEZES_OVER    (1)
  8.  
  9. /*
  10.  *
  11.  * now you can...
  12.  *
  13.  * repeat {
  14.  *    something();
  15.  * } until(HELL_FREEZES_OVER);
  16.  *
  17.  */
  18.