Re: No more platform(), conditional includes, conditional functions, condit

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

Derek Parnell wrote:
> 
> Jeremy Cowgar wrote:
> 
> > This is exciting!
> 
> About bloody time blink  This is a long wished for facility. Nowif it can be
> combined
> with command-line switch invocation ... hmmmm...
> 
> [[ file: test.ex ]]
>  ifdef debug
>    include safe.e
>  else
>    include machine.e
>  end ifdef
> 
> [[command line ]]
> 
> ex --define=debug test.ex
> 

Yes, it can:

ex -Ddebug -Djohndoe -Dsimple test.ex

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu