|
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:
VALUE | variable 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>
|
|
|
|