You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TurtleKitty edited this page May 11, 2019
·
2 revisions
return
This dynamic variable terminates a procedure and returns the value given.
As procedures return their final expression's value by default, this operator is only necessary for early termination.
(proc foo (x)
(when (= x 0)
(return42))
(* x 7))
(foo0) ; 42
(foo2) ; 14