- This wiki is out of date, use the continuation of this wiki instead
Precompiler
From FenixWiki
(Difference between revisions)
Revision as of 14:03, 30 December 2007 (edit) Sandman (Talk | contribs) m (→Definition) ← Previous diff |
Current revision (14:03, 30 December 2007) (edit) (undo) Sandman (Talk | contribs) m (→Definition) |
||
Line 10: | Line 10: | ||
See the examples for more. | See the examples for more. | ||
- | A list of | + | 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: