Re: Ver 4.0 ifdef question

new topic     » goto parent     » topic index » view thread      » older message » newer message
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) 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu