Re: useful exercise

Ben Hutchings (womble@ferret.lmh.ox.ac.uk)
Thu, 14 Jan 1999 00:51:25 +0000 (GMT)


On Sun, 10 Jan 1999, Jamie Lokier wrote:
<snip>
> 3. The "always defined" form is more flexible, because you have
> the option of using `#if X', `if (X)' or even using X in an
> expression, e.g. `X ? a : b', `X && blah_blah'.
<snip>

The C pre-processor has a defined() operator that gives you exactly
the same flexibility with the possibly-defined form.

-- 
Ben Hutchings, software engineer | web site to be reconstructed at some time
womble@ferret.lmh.ox.ac.uk | Team *AMIGA* | Jay Miner Society - www.jms.org
Gates has joked that everything goes on and off unexepectedly in the house,
which is run by a high-end PC network built on Windows NT. - Seattle Times

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/