Return or resume execution and copy some local variables (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Scilab > Scilab keywords > return

return or resume execution and copy some local variables

Calling Sequence

return [x1,..,xn]=return(a1,..,an)

Description

In a function return stops the execution of the function,[..]=return(..) stops the execution of the function and put the local variables ai in calling environnement under namesxi.

In pause mode, it allows to return to upper level[..]=return(..) returns to upper level and put the local variablesai in calling environnement under names xi.

In an execstr called by a function [..]=return(..) stops the execution of the function and put the local variables ai in calling environnement under names xi.

resume is equivalent to return.

See Also