File: string.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (43 lines) | stat: -rw-r--r-- 1,177 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
31
32
33
34
35
36
37
38
39
40
41
42
43
.TH string 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
string - conversion to string
.SH CALLING SEQUENCE
.nf
string(x)
[out,in,text]=string(x)
.fi
.SH PARAMETERS
.TP
x
: real matrix or function
.SH DESCRIPTION
converts a matrix into a matrix of strings.
.LP
If \fVx\fR is a function  \fV[out,in,text]=string(x)\fR  returns
three vectors strings : \fVout\fR is the vector of output variables,
\fVin\fR is the vector of input variables, and \fVtext\fR is
the (column) vector of the source code of the function.
.LP
If  \fVx\fR is a \fVlib\fR variable, text is a character string column
vector. The first element contains the path of library file and the 
other the name of functions it defines.
.LP
Character strings are defined as \fV'string'\fR (between quotes) or
\fV"string"\fR (between doublequotes);
matrices of strings are defined as usual constant matrices.
.LP
Concatenation of strings is made by the \fV+\fR operation.
.SH EXAMPLES
.nf
string(rand(2,2))
deff('y=mymacro(x)','y=x+1')
[out,in,text]=string(mymacro)
x=123.356; 'Result is '+string(x)
.fi
.SH SEE ALSO
part, length, quote, evstr, execstr, strsubst, strcat, strindex, sci2exp