~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/programming/typename.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH typename 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
typename - associates a name to variable type
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[types [ [,names]]=typename()
8
 
typename(name,type)
9
 
.fi
10
 
.SH PARAMETERS
11
 
.TP 10
12
 
types
13
 
: integer column vector: the types codes of each defined data types.
14
 
.TP 10
15
 
names
16
 
: column vector of strings: the names associated to type codes.
17
 
.TP 
18
 
type
19
 
: integer: the type code of new data type.
20
 
.TP 
21
 
name
22
 
: string: the name associated to the type code
23
 
.SH DESCRIPTION
24
 
The function and operator overloading make use of a formal name
25
 
associated to data types to form the name of the overloading function
26
 
(see overloading). The \fVtypename\fR can be used to handle this
27
 
formal names for hard coded data types (the \fVtlist\fR or \fVmlist\fR
28
 
coded data types formal names are defined in an other way, see \fVoverloading\fR).
29
 
.LP
30
 
Called without right hand side argument, \fVtypename\fR returns
31
 
informations on defined data types.
32
 
.LP 
33
 
Called with right hand side argument, \fVtypename\fR associates a name
34
 
to a data type code.
35
 
.LP
36
 
\fVtypename('',type)\fR suppress the data type given by its code
37
 
\fVtype\fR out of the table of known data types.
38
 
 
39
 
.SH SEE ALSO
40
 
type, typeof, overloading, tlist, mlist
41