What's the equivalent of sleep(), wait(), or pause()

Charles D Hixson charleshixsn at earthlink.net
Sat Jul 8 12:25:11 PDT 2006


Alternatively, where in the documentation can I find it.

What I want to do is to wait for a couple of seconds with a
message on the screen before continuing.  I thought I knew
the answer (sleep(2) ), but that was the bash
command...what's the D equivalent?  Or do I just need to
build a do-nothing loop with a LONG countdown?  (That would
be a bad answer, because I don't really want to eat system
resources just because I'm waiting.)



More information about the Digitalmars-d-learn mailing list