User Tools

Site Tools


prpl:return

<- PRPL reference <- Program Flow Control

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") 
prpl/return.txt · Last modified: 2017/09/24 06:27 by kajacx