delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/30/04:56:20

From: Clemens Valens <c DOT valensNOc DOT SPAM AT mindless DOT com DOT invalid>
Subject: Re: What is MID() macro ?
Newsgroups: comp.os.msdos.djgpp
Message-ID: <000b8d9b.421f3aed@usw-ex0108-059.remarq.com>
Lines: 9
Bytes: 260
X-Originating-Host: 195.154.148.69
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
References: <KoXyN35vg1q8HZF3EIU5c3sceTlu AT 4ax DOT com>
X-Wren-Trace: eDofNzYvaCJpeWAkPnY+PTsJJzYxOnYpLCV7OjwjYytsaTRqYS5hZWJjcGlt
Date: Thu, 30 Sep 1999 00:57:43 -0700
NNTP-Posting-Host: 10.0.2.59
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon3 938678432 10.0.2.59 (Thu, 30 Sep 1999 01:00:32 PDT)
NNTP-Posting-Date: Thu, 30 Sep 1999 01:00:32 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

See allegro.h. There MID() is defined as follows:

#define MID(x,y,z)  MAX((x), MIN((y), (z)))

Clemens


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019