Return [value:Any]

Return from subroutine or function.

If used within a subroutine, there must not be a parameter. The subroutine returns when this command is executed.

If used within a function, the parameter must be specified. The function returns when this command is executed, and gives the value to its caller.

See also: Sub, Function, Elementary Commands