Re: Race/Class Snippet

From: Zeavon (zeavon@kilnar.com)
Date: 11/09/00


On Thu, 9 Nov 2000, Lewis, Jason wrote:

> This MACRO is substituted everytime you compile, before the syntax
> check. This means that the following is equivalent (though harder to
> read and understand):
>
> #define GET_RACE(XY123456789LSD) ((XY123456789LSD)-player.race)
>
> I was totally unaware the MACROS process before the syntax check,*note to
> self* I understand the way it has to be done now. Thanks for the insight.
>

Grab a C book and read about what the following thigs do, why they do them
and in what order they take their actions:
preprocessor
compiler
linker

If your C book does not tell you about them, burn it and buy one that
does.

--
Zeavon Calatin, MageMaster of the Realms
Spear of Insanity
http://spear.kilnar.com/    telnet://spear.kilnar.com:1066


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT