Re: Conditional Assembly (Pre-Compilers)
From: Jim Carlock (anonymous_at_127.0.0.1)
Date: 08/31/04
- Next message: The Wannabee: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Betov: "Re: Helpful Practical Uses of Conditional Assembly"
- Next in thread: Randall Hyde: "Re: Conditional Assembly (Pre-Compilers)"
- Reply: Randall Hyde: "Re: Conditional Assembly (Pre-Compilers)"
- Reply: Alex McDonald: "Re: Conditional Assembly (Pre-Compilers)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 13:25:43 GMT
<Beth wrote>
Basically, just to "supplement" Randy's post, here's a few
simple practical ideas for the use of "conditional assembly"
to demonstrate _why_ a programmer might want to make use of
such a thing in a direct, practical context...
<snip>...</snip>
</Beth wrote>
And I am adding something that seems to have been missed in
the discussion.
"Conditional compilation" occurs in what is defined as a
precompiler. The precompiler parses through the #defines
and #const and changes them to values as appropriate. The
discussion of "conditional compilation" should make a
distinction between a compiler and a precompiler and the
topic of a precompiler should not be left out.
A precompiler consists of a separate program which parses
source code prior to the actual compilation of the source
code. It is usually a separate program. Most precompilers
seem to be separate files (or at least some sort of library).
Just throwing in 1 cent that was not mentioned.
Hope that helps.
-- Jim Carlock http://www.microcosmotalk.com/ Post replies to the newsgroup.
- Next message: The Wannabee: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Betov: "Re: Helpful Practical Uses of Conditional Assembly"
- Next in thread: Randall Hyde: "Re: Conditional Assembly (Pre-Compilers)"
- Reply: Randall Hyde: "Re: Conditional Assembly (Pre-Compilers)"
- Reply: Alex McDonald: "Re: Conditional Assembly (Pre-Compilers)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]