return or resume execution and copy some local variables
return
[x1,..,xn]=return(a1,..,an)
:x1,..,xn variables in calling environment : :a1,..,an local variables :
In a function return stops the execution of the function, [x1,..,xn]=return(a1,..,an) stops the execution of the function and put the local variables ai in calling environment under names xi.
In pause mode, it allows to return to upper level. [x1,..,xn]=return(a1,..,an) returns to upper level and put the local variables ai in calling environment under names xi.
In an execstr called by a function [x1,..,xn]=return(a1,..,an) stops the execution of the function and put the local variables ai in calling environment under names xi.
The statement resume is equivalent to return.