Warning: file_get_contents(/home/mud/genesis/lib/d/Web/content/coding/lpcdoc/index) [function.file-get-contents]: failed to open stream: No such file or directory in /home/mud/genesis/web/includes/generic.inc.php on line 7
Genesis - <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">





LPC: The preprocessor





[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]


1.3 The preprocessor

The preprocessor is not a part of the LPC language proper. It's a
special process that is run before the actual compilation of the program
occurs. Basically it can be seen as a very smart string replacer;
Specified strings in the code is replaced by other strings.

All preprocessor directives are given as strings starting with the
character `#' on the first column of the line. You can put them
anywhere, but as you'll be told later most of them do belong in the
beginning of the code.

1.3.1 The #include statement  
1.3.2 The #define statement  The #define and undef statement
1.3.3 The #if, #ifdef, #ifndef, #else and #elseif statements  







This document was generated
by Ronny Wikh on July, 8 2003
using texi2html


TMC MPS MudLists
MudMagic Mud Domain
The MUD Slide RPG Gateway
© Genesis - The Original LPMud, Host: mud.genesismud.org Port: 3011