Search

December 06, 2017
Learn »
...this:

version(Windows) int i = 0;
else foobarbaz;

Should it fail to compile on Linux...
May 16, 2016
Announce »
...explanatory:

with(immutable Sandbox()) {
    writeFile("foo.txt", "foobarbaz\ntoto"); // can also pass string[] for lines...
September 14, 2015
Learn »
...main()
{
    auto chain1 = chain("foo", "bar");
    auto chain2 = chain(chain1, "baz");
    assert(equal(chain2, "foobarbaz"));
}
----
September 12, 2015
General »
...if 'Peter' types

---
void foo()
{
    import myhelper;
    "foobarbaz".
}
---

after the dot, 'Peter' can get ".writeln...
July 26, 2013
Learn »
...toUpper(c);
    }
    return result;
}
unittest
{
    assert(underscorish("fooBarBaz") == "FOO_BAR_BAZ");
}

/* Testing the whole thing...
January 20, 2009
General »
...instantiation can be.

alias Foo!(Bar, Baz) FooBarBaz;

A partial instantiation can't be, but...
March 18, 2008
General »
...I might have something like "Jarrett Billingsley #foobarbaz".  When the server gets the post, it...
October 28, 2004
General »
...that I resorted to:

//enum FooBarBaz : ushort
alias ushort FooBarBaz;
enum
{
    THE = 0x0001,
    QUICK = 0x0002...
October 27, 2004
General »
...FooBarBaz y = FooBarBaz.THE // ok
    }
    {
        import FooBarBaz;   // bring names in FooBarBaz in current scope
        FooBarBaz...
August 11, 2004
General »
But if the 'FooBarBaz' is omitted then the user does not know which enum to...
« First   ‹ Prev
1 2
Next ›   Last »