Friday June 21, 2024

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

Get SteelArrow!     
Return to Tag List
The SWITCH tag is used in conjunction with CASE statements. This tag evaluates an expression or value for comparison against the possible case values.
VALUEvariable or expression to evaluate
NOCASEflag to denote case insensitive compare

The following is an example of a SWITCH block;
<SASET NAME=test VALUE="abc">
   <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