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">
15
<refname>demo_mdialog</refname>
16
<refpurpose> create a dialog box </refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>resp = demo_mdialog(fil)</synopsis>
23
<title>Description</title>
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
32
The function demo_mdialog returns 'resp', the values chosen by the user.
36
<title>Examples</title>
37
<programlisting role="example"><![CDATA[
15
<refname>demo_mdialog</refname>
16
<refpurpose> create a dialog box </refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>resp = demo_mdialog(fil)</synopsis>
23
<title>Description</title>
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
32
The function demo_mdialog returns 'resp', the values chosen by the user.
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');
41
41
if defv==[] then warning('Demo stops!');return;end
42
42
]]></programlisting>
44
<refsection role="see also">
45
<title>See Also</title>
46
<simplelist type="inline">
48
<link linkend="demo_choose">demo_choose</link>
51
<link linkend="x_mdialog">x_mdialog</link>
54
<link linkend="x_dialog">x_dialog</link>
44
<refsection role="see also">
45
<title>See Also</title>
46
<simplelist type="inline">
48
<link linkend="demo_choose">demo_choose</link>
51
<link linkend="x_mdialog">x_mdialog</link>
54
<link linkend="x_dialog">x_dialog</link>