Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site umn-cs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!stolaf!umn-cs!frascado
From: frascado@umn-cs.UUCP (Gregory Frascadore)
Newsgroups: net.lang.c
Subject: Re: "handy.h"
Message-ID: <797@umn-cs.UUCP>
Date: Thu, 12-Sep-85 09:01:21 EDT
Article-I.D.: umn-cs.797
Posted: Thu Sep 12 09:01:21 1985
Date-Received: Sun, 15-Sep-85 11:47:23 EDT
References: <29@andromeda.UUCP> <393@unrvax.UUCP>
Reply-To: frascado@umn-cs.UUCP (Gregory Frascadore)
Distribution: net
Organization: Computer Science Dept., U of Minn, Mpls, MN
Lines: 22
Summary: 


>I'm interested in coming up with an include file, say "handy.h",
>which declares a lot of commonly useful "stuff".  A lot of discussion
>Any other suggestions would be appreciated.
>-- Rich Wagner
 
One of my favorites is:

#define repeat do
#define until( expr) while( !(expr))

I prefer repeat-until loops over do-while's 
(my pascal heritage is showing :-)


-- 
-------
				Gregory Frascadore
				Computer Science Department
				University of Minnesota
				...ihnp4!stolaf!umn-cs!frascado