Tuesday October 29, 2024

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


Get SteelArrow!     
  <SADEFAULT/>    
 
 
 
Return to Tag List
 
The DEFAULT tag represents the default code to execute when no previous CASE statements evalutate to the expression in the SWITCH expression. Default should always appear last in the CASE list.
 
Attributes:
None.

 
The following is an example of a DEFAULT statement;
 
<SASET NAME=test VALUE="abcdef">
<SASWITCH VALUE=test>
   <SACASE VALUE="abc">
      The value is abc!<BR>
   <SABREAK>
   <SACASE VALUE="d" & "ef">
      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