This wiki is out of date, use the continuation of this wiki instead

Precompiler

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:21, 30 December 2007 (edit)
Sandman (Talk | contribs)
(New page: category:general == Definition == The precompiler is for executing commands before the actual compiling. This can be useful for many things: * Defining words as other words or values ...)
← Previous diff
Current revision (14:03, 30 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m (Definition)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
[[category:general]] [[category:general]]
 +[[category:precompiler]]
== Definition == == Definition ==
Line 7: Line 8:
* Protecting codefiles from being included multiple times * Protecting codefiles from being included multiple times
* Enable whole sections of code with one define * Enable whole sections of code with one define
 +See the examples for more.
-A list of basic statements:+A list of precompiler statements:
* [[precompiler_define|#define]] * [[precompiler_define|#define]]
* [[precompiler_ifdef|#ifdef]] * [[precompiler_ifdef|#ifdef]]

Current revision


[edit] Definition

The precompiler is for executing commands before the actual compiling. This can be useful for many things:

  • Defining words as other words or values
  • Defining functions as a list of statements
  • Protecting codefiles from being included multiple times
  • Enable whole sections of code with one define

See the examples for more.

A list of precompiler statements:

Personal tools