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

« back to all changes in this revision

Viewing changes to modules/demo_tools/help/en_US/demo_mdialog.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="demo_mdialog">
14
 
  <refnamediv>
15
 
    <refname>demo_mdialog</refname>
16
 
    <refpurpose> create a dialog box </refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>resp = demo_mdialog(fil)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Description</title>
24
 
    <para>
25
 
      The function demo_mdialog create a dialog box. It takes as argument a binary 
26
 
      file. This file is built by a .sce file written like below. It shall contain 
27
 
      the variables 'titl', the title a the dialog box, 'namevar', the name of the 
28
 
      fields to fill, and 'value', the values written by default. After this, these 
29
 
      three variables shall be saved in the binary file.
30
 
      The use of demo_mdialog shall be preceded by the execution of the .sce 
31
 
      associated.
32
 
      The function demo_mdialog returns 'resp', the values chosen by the user.
33
 
    </para>
34
 
  </refsection>
35
 
  <refsection>
36
 
    <title>Examples</title>
37
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>demo_mdialog</refname>
 
16
        <refpurpose> create a dialog box </refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>resp = demo_mdialog(fil)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Description</title>
 
24
        <para>
 
25
            The function demo_mdialog create a dialog box. It takes as argument a binary 
 
26
            file. This file is built by a .sce file written like below. It shall contain 
 
27
            the variables 'titl', the title a the dialog box, 'namevar', the name of the 
 
28
            fields to fill, and 'value', the values written by default. After this, these 
 
29
            three variables shall be saved in the binary file.
 
30
            The use of demo_mdialog shall be preceded by the execution of the .sce 
 
31
            associated.
 
32
            The function demo_mdialog returns 'resp', the values chosen by the user.
 
33
        </para>
 
34
    </refsection>
 
35
    <refsection>
 
36
        <title>Examples</title>
 
37
        <programlisting role="example"><![CDATA[ 
38
38
exec('SCI/demos/control/pid/pid_dial_4.sce');
39
39
[defv]=demo_mdialog('SCI/demos/control/pid/pid_dial_4.bin');  
40
40
  
41
41
if defv==[] then warning('Demo stops!');return;end
42
42
 ]]></programlisting>
43
 
  </refsection>
44
 
  <refsection role="see also">
45
 
    <title>See Also</title>
46
 
    <simplelist type="inline">
47
 
      <member>
48
 
        <link linkend="demo_choose">demo_choose</link>
49
 
      </member>
50
 
      <member>
51
 
        <link linkend="x_mdialog">x_mdialog</link>
52
 
      </member>
53
 
      <member>
54
 
        <link linkend="x_dialog">x_dialog</link>
55
 
      </member>
56
 
    </simplelist>
57
 
  </refsection>
 
43
    </refsection>
 
44
    <refsection role="see also">
 
45
        <title>See Also</title>
 
46
        <simplelist type="inline">
 
47
            <member>
 
48
                <link linkend="demo_choose">demo_choose</link>
 
49
            </member>
 
50
            <member>
 
51
                <link linkend="x_mdialog">x_mdialog</link>
 
52
            </member>
 
53
            <member>
 
54
                <link linkend="x_dialog">x_dialog</link>
 
55
            </member>
 
56
        </simplelist>
 
57
    </refsection>
58
58
</refentry>