return

return given value from current function


Parameters

return value :any

Returns

  • :nothing

Examples

copy
f: function [x][ loop 1..x 'y [ if y=5 [ return y*2 ] ] return x*2 ] print f 3 ; 6 print f 6 ; 10

Related