User Tools

Site Tools


xrpl:return

This is an old revision of the document!


return

ArgumentsResultNotation
[ - ]

Description

Stops execution of a function call and returns immediately. If called from some place other than a function, it will stop the script execution and 'return' immediately. Useful for aborting function execution or script execution when necessary.

Examples

trace("42") 
@MyFunc 
 
:MyFunc 
	trace("1") 
	return 
	trace("2") 
xrpl/return.1551661096.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)