File: return.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (30 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.TH return 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
return - return or resume execution and copy some local variables 
.SH CALLING SEQUENCE
.nf
return
[x1,..,xn]=return(a1,..,an)
.fi
.SH PARAMETERS
.TP
x 
.SH DESCRIPTION
In a function \fVreturn\fR stops the execution of the function,
\fV[..]=return(..)\fR stops the execution of the function and put the
local variables \fVai\fR in calling environnement under names
\fVxi\fR.

.LP
In \fVpause\fR mode, it allows to return to lower level
\fV[..]=return(..)\fR returns to lower level and put the local variables
\fVai\fR in calling environnement under names \fVxi\fR.
.LP
In an \fVexecstr\fR called by a function \fV[..]=return(..)\fR stops
the execution of the function and put the local variables 
\fVai\fR in calling environnement under names \fVxi\fR.
.LP
\fVresume\fR is equivalent to \fVreturn\fR.
.SH SEE ALSO
abort, break