1
.TH typename 1 "April 1993" "Scilab Group" "Scilab Function"
4
typename - associates a name to variable type
7
[types [ [,names]]=typename()
13
: integer column vector: the types codes of each defined data types.
16
: column vector of strings: the names associated to type codes.
19
: integer: the type code of new data type.
22
: string: the name associated to the type code
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).
30
Called without right hand side argument, \fVtypename\fR returns
31
informations on defined data types.
33
Called with right hand side argument, \fVtypename\fR associates a name
36
\fVtypename('',type)\fR suppress the data type given by its code
37
\fVtype\fR out of the table of known data types.
40
type, typeof, overloading, tlist, mlist