~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/functions/help/en_US/macrovar.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="macrovar">
14
 
  <refnamediv>
15
 
    <refname>macrovar</refname>
16
 
    <refpurpose> variables of function</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>vars=macrovar(function)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Arguments</title>
24
 
    <variablelist>
25
 
      <varlistentry>
26
 
        <term>vars</term>
27
 
        <listitem>
28
 
          <para>
29
 
            list  <literal>list(in,out,nolocal,called,locals)</literal>
30
 
          </para>
31
 
        </listitem>
32
 
      </varlistentry>
33
 
      <varlistentry>
34
 
        <term>function</term>
35
 
        <listitem>
36
 
          <para>name of a function</para>
37
 
        </listitem>
38
 
      </varlistentry>
39
 
    </variablelist>
40
 
  </refsection>
41
 
  <refsection>
42
 
    <title>Description</title>
43
 
    <para>
44
 
      Returns in a list the set of variables used by a function.
45
 
      <literal>vars</literal> is a list made of five column vectors of character strings
46
 
    </para>
47
 
    <para>
48
 
      <literal>in</literal> input variables (<literal>vars(1)</literal>)
49
 
    </para>
50
 
    <para>
51
 
      <literal>out</literal> output variables (<literal>vars(2)</literal>)
52
 
    </para>
53
 
    <para>
54
 
      <literal>nolocal</literal>referenced variables which are not defined inside the function and which are not functions (<literal>vars(3)</literal>)
55
 
    </para>
56
 
    <para>
57
 
      <literal>called</literal> names of functions called (<literal>vars(4)</literal>)
58
 
    </para>
59
 
    <para>
60
 
      <literal>locals</literal> local variables (<literal>vars(5)</literal>)
61
 
    </para>
62
 
  </refsection>
63
 
  <refsection>
64
 
    <title>Examples</title>
65
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>macrovar</refname>
 
16
        <refpurpose> variables of function</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>vars=macrovar(function)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Arguments</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>vars</term>
 
27
                <listitem>
 
28
                    <para>
 
29
                        list  <literal>list(in,out,nolocal,called,locals)</literal>
 
30
                    </para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
            <varlistentry>
 
34
                <term>function</term>
 
35
                <listitem>
 
36
                    <para>name of a function</para>
 
37
                </listitem>
 
38
            </varlistentry>
 
39
        </variablelist>
 
40
    </refsection>
 
41
    <refsection>
 
42
        <title>Description</title>
 
43
        <para>
 
44
            Returns in a list the set of variables used by a function.
 
45
            <literal>vars</literal> is a list made of five column vectors of character strings
 
46
        </para>
 
47
        <para>
 
48
            <literal>in</literal> input variables (<literal>vars(1)</literal>)
 
49
        </para>
 
50
        <para>
 
51
            <literal>out</literal> output variables (<literal>vars(2)</literal>)
 
52
        </para>
 
53
        <para>
 
54
            <literal>nolocal</literal>referenced variables which are not defined inside the function and which are not functions (<literal>vars(3)</literal>)
 
55
        </para>
 
56
        <para>
 
57
            <literal>called</literal> names of functions called (<literal>vars(4)</literal>)
 
58
        </para>
 
59
        <para>
 
60
            <literal>locals</literal> local variables (<literal>vars(5)</literal>)
 
61
        </para>
 
62
    </refsection>
 
63
    <refsection>
 
64
        <title>Examples</title>
 
65
        <programlisting role="example"><![CDATA[ 
66
66
deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc')
67
67
vars=macrovar(f)
68
68
 ]]></programlisting>
69
 
  </refsection>
70
 
  <refsection role="see also">
71
 
    <title>See Also</title>
72
 
    <simplelist type="inline">
73
 
      <member>
74
 
        <link linkend="string">string</link>
75
 
      </member>
76
 
      <member>
77
 
        <link linkend="macr2lst">macr2lst</link>
78
 
      </member>
79
 
    </simplelist>
80
 
  </refsection>
 
69
    </refsection>
 
70
    <refsection role="see also">
 
71
        <title>See Also</title>
 
72
        <simplelist type="inline">
 
73
            <member>
 
74
                <link linkend="string">string</link>
 
75
            </member>
 
76
            <member>
 
77
                <link linkend="macr2lst">macr2lst</link>
 
78
            </member>
 
79
        </simplelist>
 
80
    </refsection>
81
81
</refentry>