Statements>Suspend
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>Suspend
Syntax
<CARAVAN>
      suspend
</CARAVAN>
Text You can Suspend a Event handler and resume it after doing some process.
Sample

<HTML>
<BODY>
<CARAVAN>
label repeatcheck
             suspend
            if serial(sendnextmsg)="YES"
                  output "con";"Item send\r\n";close output
                  over
            else
                   output "con";"Time out back to sleep\r\n";close output
                   goto repeatcheck;// if woke due to eout
            endif

</CARAVAN>
</BODY>
</HTML>
Quick Reference
Home       Back