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.

Since: PCC 1.0.6, PCC2 1.99.9

See also: Sub, Function, Elementary Commands