in reply to (Guildenstern) Re: Re: sleep?
in thread sleep?

Yes, but note that do{}while(); is not actually a loop. You can't use loop control mechanics like last and next. This is noted under Universal Blunders, page 529 in Camel 2: This is also mentioned here.

Replies are listed 'Best First'.
(Guildenstern) Rex4: sleep?
by Guildenstern (Deacon) on Mar 21, 2001 at 01:53 UTC
    Yes, but this is a simple example and does not use any loop control statements. myocom stated in his reply that the while(sleep(1)) construct would sleep first before showing any output - the opposite of what the original author was trying to do in the sample code. In this case, the do {} while () is a perfectly acceptable WTDI.

    Guildenstern
    Negaterd character class uber alles!