Statements>Sleep
Introduction Installation Beginning Admin Quick Ref FTP Server SMTP Server Database Security
Statements Objects String Parsing Events Queues Samples Special names Error Handling Accessories   Back
Caravan Business Server>Help>Statements>Sleep
Syntax
<CARAVAN>
      sleep {delay in seconds}
</CARAVAN>
Text You can delay execution of the next program statement by using sleep
Sample

<HTML>
<BODY>
<CARAVAN>
loop ctr (100)
"The value of the counter is "
ctr(counter)

if ctr(counter) = "50"
      sleep 5
repeat ctr 101
</CARAVAN>
</BODY>
</HTML>
Quick Reference
Home       Back