File: macrovar.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 (31 lines) | stat: -rw-r--r-- 742 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
macrovar          Scilab Group          Scilab Function            macrovar
NAME
   macrovar - variables of function
  
CALLING SEQUENCE
 vars=macrovar(function)
PARAMETERS
 vars       : list  list(in,out,globals,called,locals)
            
 function   : name of a function
            
DESCRIPTION
   Returns in a list the set of variables used by a function. vars is a list
  made of five column vectors of character strings
  
   in : input variables (vars(1))
  
   out : output variables (vars(2))
  
   globals : global variables (vars(3))
  
   called : names of functions called (vars(4))
  
   locals : local variables (vars(5))
  
EXAMPLE
 deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc')
 vars=macrovar(f)
SEE ALSO
   string, macr2lst