Tuesday October 29, 2024

       
      SteelArrow Basics
      SteelArrow Tags
  SteelArrow Functions
  SteelArrow Objects
  Advanced Topics
  WAS Overview
   
   
       
      Overview
  Code Samples
  Site Search
   
   
   


Get SteelArrow!     
  <SABREAK/>    
 
 
 
Return to Tag List
 
The BREAK tag is used to break from a loop, or to break from a switch/case statement.
 
Attributes:
None.

 
The following are examples of BREAK;
 
<SASET NAME=test VALUE="abc">
<SAWHILE COND=test .ne. 123>
   <SAIF COND=test .eq. "abc">
      <SABREAK>
   </SAIF>
   Won't be seen!<BR>
</SAWHILE>
 
 
<SASET NAME=test VALUE="abc">
<SASWITCH VALUE=test>
   <SACASE VALUE="abc">
      The value is abc!<BR>
   <SABREAK>
   <SACASE VALUE="def">
      The value is def!<BR>
   <SACASE VALUE="ghi">
      The value is def OR ghi!<BR>
   <SABREAK>
   <SADEFAULT>
      Did not match any CASE values<BR>
   <SABREAK>
</SASWITCH>





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy