Tuesday December 10, 2024

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


Get SteelArrow!     
  <SACODESET/>    
 
 
 
Return to Tag List
 
The CODESET tag is used to set a variable to a specified value. The value comes from the HTML and SteelArrow code that is wrapped by the tag.
 
Attributes:
NAMEvariable name
OUTPUToutput data as it is being parsed? 'yes' or 'no' (default is yes)
WEBSAFEmake variable data websafe? 'yes' or 'no' (default is yes)

 
The following is an example of CODESET;
 
<!--- Will create 'var' with the evaluation of the wrapped code --->
<SACODESET NAME=var>

<SASET NAME=count VALUE=0>
<SAWHILE COND=count .lt. 3>
   #count#
   <SASET NAME=count value=count +1 >
</SAWHILE>

</SACODESET>

<!--- 'var' will be set to a websafe version of the following
      This data will also be output --->
0
1
2





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy