Nick Sabalausky wrote:
"bearophile" <[email protected]> wrote in message news:[email protected]...auto x; if (localtime().hours >= 8) { x = "awake!" } else { x = "asleep, go away." } log "I'm " + x;That would be really nice to have in D.
auto x = (localtime().hours >= 8) ? "awake!" : "asleep, go away.";
