delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/29/18:57:22

From: Kevin <krugman AT nospam DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: What is MID() macro ?
Date: Wed, 29 Sep 1999 22:48:12 +0100
Message-ID: <KoXyN35vg1q8HZF3EIU5c3sceTlu@4ax.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 938641761 nnrp-04:26064 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: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all

In the Allegro ex22.c program, a macro called MID is used thus

col = MID(128, 255 - fixtoi(v1->z + v2->z) / 16, 255);

I've not seen MID() before, what is it and where is it
declared/defined ?.

Thanks for any help.
 
Kevin.



- Raw text -


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