Friday April 19, 2024

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


Get SteelArrow!     
  <SAELSEIF/>    
 
 
 
Return to Tag List
 
The ELSEIF tag is used in conjunction with IF blocks. IF blocks may or may not contain ELSE and ELSEIF blocks.

The NOCASE keyword may be used for case insensitive string compares.

 
Attributes:
CONDexpression or variable to evaluate
CONDITIONsame as COND
NOCASEflag to denote case insensitive compare

 
The following is an example of ELSEIF;
 
<SASET NAME=var VALUE="Testing 123">
<SAIF COND=var .eq. "Test">
   The value of var is Test<BR>
<SAELSEIF COND=var .eq. 123>
   The value of var is 123<BR>
<SAELSEIF COND=var .eq. "BOB" NOCASE>
   The value of var is BOB<BR>
<SAELSE>
   The value was not Test, 123 or BOB<BR>
</SAIF>





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy