Why version() ?
Nick Sabalausky
a at a.a
Tue Feb 10 19:35:12 PST 2009
"Daniel Keep" <daniel.keep.lists at gmail.com> wrote in message
news:gmtf5g$1ban$1 at digitalmars.com...
>
> --version=OhGodMakeItStop=false
>
lol :)
I love all of the contrived code we come up with on this newsgroup. Other
gems just from this "Why version()?" thread alone:
version=canBeUsedToPickupChicks
version(Poopy) {} else
> You might be able to rework the syntax so that you can define the
> default value of a version symbol in a module, then override it from the
> command line.
>
> module simd_versions;
> version UseMMX=false, UseSSE=false, UseSSE2=false, ...;
>
I think you've just demonstrated here that this feature *can* be made to
work.
More information about the Digitalmars-d
mailing list