return
Return a value and exit the function or script
[...] = optional ... = your value
return [ ... ]
Notes
return uses the same basic syntax as
print
return is designed primarily to be used in
functions
Using
return in normal Xtsripts may cause unexpected results and failures
Example code
Example output
Reloadtest value
other Xtscript will be executed
$var = 1
Other html on the page will be executed