Tuesday October 29, 2024

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


Get SteelArrow!     
  <SAPARAM/>    
 
 
 
Return to Tag List
 
The PARAM tag is used in conjunction with the IMPORT tag. This tag allows values to be passed to called FUNCTIONs or imported scripts.

When received by an imported script, or function the passed parameters are contained within the PARAM table.

 
Attributes:
VALUEvalue associated with variable name
NAMEvariable name

 
The following is an example of PARAM;
 
<SAFUNCTION NAME="Sum">
   <SARETURN VALUE=PARAM.val1 + PARAM.val2>
</SAFUNCTION>

<SAIMPORT FUNCTION="Sum" NAME=returnValue>
   <SAPARAM NAME=val1 VALUE=10>
   <SAPARAM NAME=val2 VALUE=22>
</SAIMPORT>

<!--- Outputs: 32 --->
<SAOUTPUT VALUE=returnValue>





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy