Wednesday April 24, 2024

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

Get SteelArrow!     
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.

The following is an example of a DEFAULT statement;
<SASET NAME=test VALUE="abcdef">
   <SACASE VALUE="abc">
      The value is abc!<BR>
   <SACASE VALUE="d" & "ef">
      The value is def!<BR>
   <SACASE VALUE="ghi">
      The value is def OR ghi!<BR>
      Did not match any CASE values<BR>

Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy