next up previous contents index
Next: 6.3.1.1 C functions interfacing Up: 6.3.1 Using Intersci Previous: 6.3.1.0.6 Fortran variables with

   
6.3.1.0.7 Using lists as input Scilab variables

An input argument of the Scilab function can be a Scilab list. If <list name> is the name of this variable, a file called <list name>.list must describe the structure of the list. This file permits to associate a Scilab variable to each element of the list by defining its name and its Scilab type. The variables are described in order into the file as described by table 6.2.

Then, such a variable element of the list, in the file <interface name>.desc is referred to as its name followed by the name of the corresponding list in parenthesis. For instance, la1(g) denotes the variable named la1 element of the list named g.


 
Table 6.2: Description of a variable element of a list
< comment on the variable element of the list>
< name of the variable element of list> < type> < possible arguments>
*******************************
 

An example is shown in 6.3.1.


next up previous contents index
Next: 6.3.1.1 C functions interfacing Up: 6.3.1 Using Intersci Previous: 6.3.1.0.6 Fortran variables with
Scilab Group