delorie.com/archives/browse.cgi | search |
From: | Kevin <krugman AT nospam DOT demon DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: What is MID() macro ? |
Date: | Fri, 01 Oct 1999 19:21:02 +0100 |
Message-ID: | <P=v0NwHLCsw+7yJx9rf9ZESpnLc+@4ax.com> |
References: | <KoXyN35vg1q8HZF3EIU5c3sceTlu AT 4ax DOT com> <000b8d9b DOT 421f3aed AT usw-ex0108-059 DOT remarq DOT com> |
NNTP-Posting-Host: | reality-bytes.demon.co.uk |
X-NNTP-Posting-Host: | reality-bytes.demon.co.uk:212.228.30.60 |
X-Trace: | news.demon.co.uk 938802132 nnrp-04:22130 NO-IDENT reality-bytes.demon.co.uk:212.228.30.60 |
X-Complaints-To: | abuse AT demon DOT net |
X-Newsreader: | Forte Agent 1.6/32.525 |
MIME-Version: | 1.0 |
Lines: | 16 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Thu, 30 Sep 1999 00:57:43 -0700, Clemens Valens <c DOT valensNOc DOT SPAM AT mindless DOT com DOT invalid> wrote: >See allegro.h. There MID() is defined as follows: > >#define MID(x,y,z) MAX((x), MIN((y), (z))) > >Clemens I think I see now, it returns whichever of x, y or z is the middle value. Thanks, Kevin.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |