File: typename.cat

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 (37 lines) | stat: -rw-r--r-- 1,278 bytes parent folder | download
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
typename          Scilab Group          Scilab Function            typename
NAME
   typename - associates a name to variable type
  
CALLING SEQUENCE
 [types [ [,names]]=typename()
 typename(name,type)
PARAMETERS
 types      : integer column vector: the types codes of each defined data
            types.
            
 names      : column vector of strings: the names associated to type
            codes.
            
 type       : integer: the type code of new data type.
            
 name       : string: the name associated to the type code
            
DESCRIPTION
   The function and operator overloading make use of a formal name
  associated to data types to form the name of the overloading function
  (see overloading). The typename can be used to handle this formal names
  for hard coded data types (the tlist or mlist coded data types formal
  names are defined in an other way, see overloading).
  
   Called without right hand side argument, typename returns informations on
  defined data types.
  
   Called with right hand side argument, typename associates a name to a
  data type code.
  
   typename('',type) suppress the data type given by its code type out of
  the table of known data types. 
  
SEE ALSO
   type, typeof, overloading, tlist, mlist