Re: Ver 4.0 ifdef question
- Posted by mattlewis (admin) Sep 03, 2008
- 843 views
DerekParnell said...
mattlewis said...
Additional defs .. can be defined
Yes, this is another reason that ifdef is better. You can define your own 'platform' version to run in.
ifdef ADULT then puts(1, "Damn! You got blown apart and your body got scattered from here to Hell.\n") else puts(1, "Oops! You fainted.\n") end ifdef puts(1, "Play again?\n")
bind -D ADULT mygame (makes an Adult version) bind mygame (makes a 'G' version)
What!? You call that the Adult version? How about this:
<censored>
Matt