Statements>Break
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>Break
Syntax
<CARAVAN>
      break
</CARAVAN>
Text You can come out of a loop statement or nested if using Break statement.
Sample

<HTML>
<BODY>
<CARAVAN>
loop ctr (100)
      "The value of the counter is "
      ctr(counter)
      if ctr(counter) = "50"
            break
repeat ctr 101
</CARAVAN>
</BODY>
</HTML>
Quick Reference
Home       Back