Programming Windows D Examples are now Online!

Steven Schveighoffer schveiguy at yahoo.com
Thu Jun 23 14:22:23 PDT 2011


On Thu, 23 Jun 2011 07:27:34 -0400, Jimmy Cao <jcao219 at gmail.com> wrote:


>     Thread.sleep( 70_000_000 );  // 7 sec

Gah!

Here, let me fix that for you:

Thread.sleep(dur!"seconds"(7));

:)

-Steve


More information about the Digitalmars-d-announce mailing list