version vs. static if

Nick Sabalausky a at a.a
Fri Sep 23 15:34:28 PDT 2011


"Nick Sabalausky" <a at a.a> wrote in message 
news:j5j1bh$14oc$1 at digitalmars.com...
>
> // D:
> version(ThisIsDeclared) {} else {}
>>dmd foo.d -version:ThisIsDeclared=false  # or 
>>maybe -versionoff:ThisIsDeclared
>

Heh, the stupid email/ng system (or client or whatever) tried to "fix" that 
"quote" by adding a ">" before "maybe". Stoopid compooters.




More information about the Digitalmars-d mailing list