Saturday October 21, 2017

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


Get SteelArrow!     
  <SARETURN/>    
 
 
 
Return to Tag List
 
The RETURN tag is used for several different things. It can be used to return data from a FUNCTION, an IMPORTed script or simply to abort execution of a script.
 
Attributes:
VALUEvariable or literal string to return

 
The following is an example of RETURN;
 
<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