User Tools

Site Tools


crpl:docs:return

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- 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

10 10 GetCreeper eq0 if
   return
endif

# Do other things
crpl/docs/return.1412190170.txt.gz · Last modified: 2025/02/14 14:56 (external edit)