Re: Ver 4.0 ifdef question
- Posted by DerekParnell (admin) Sep 03, 2008
- 858 views
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)