www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/01/07:54:46

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: <0a2d0c2c.b31bbf23@usw-ex0108-059.remarq.com>
Lines: 10
Bytes: 382
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> <%jHI3.30026$ei1 DOT 52479 AT newsfeeds DOT bigpond DOT com> <37f44f86 DOT 8922282 AT newsserver DOT cc DOT monash DOT edu DOT au>
X-Wren-Trace: eBE0HB0EQwlCUksPFV0VFhAiDB0aEV0CBw5QERcISABHQh9BSgVKTklIW0JG
Date: Fri, 01 Oct 1999 00:32:17 -0700
NNTP-Posting-Host: 10.0.2.59
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon3 938763308 10.0.2.59 (Fri, 01 Oct 1999 00:35:08 PDT)
NNTP-Posting-Date: Fri, 01 Oct 1999 00:35:08 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

You should call it with parameters in increasing order, i.e.
MID(a,b,c) where a<=b<=c. It works like a limiter, you
always get b back, unless it is out of range. In that case
you get a maximum or minimum value back.

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