|
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:
NAME | variable name |
OUTPUT | output data as it is being parsed? 'yes' or 'no' (default is yes) |
WEBSAFE | make 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
|