* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_module.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="with_module">
3     <refnamediv>
4         <refname>with_module</refname>
5         <refpurpose>
6             проверка: установлен ли модуль Scilab'а
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Синтаксис</title>
11         <synopsis>r = with_module(module_name)</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>Аргументы</title>
15         <variablelist>
16             <varlistentry>
17                 <term>r</term>
18                 <listitem>
19                     <para>логическое значение</para>
20                 </listitem>
21             </varlistentry>
22             <varlistentry>
23                 <term>module_name</term>
24                 <listitem>
25                     <para>
26                         строковое значение, например: <literal>'core'</literal>
27                     </para>
28                 </listitem>
29             </varlistentry>
30         </variablelist>
31     </refsection>
32     <refsection>
33         <title>Описание</title>
34         <para>
35             Возвращает <constant>%t</constant>, если установлен модуль Scilab'а <literal>module_name</literal>, и <constant>%f</constant>, если нет.
36         </para>
37     </refsection>
38     <refsection>
39         <title>Примеры</title>
40         <programlisting role="example"><![CDATA[
41 withXML = with_module("xml");
42 if withXML == %t then
43    disp("XML-модуль доступен");
44 else
45    disp("XML-модуль не доступен");
46 end
47  ]]></programlisting>
48     </refsection>
49     <refsection role="see also">
50         <title>Смотрите также</title>
51         <simplelist type="inline">
52             <member>
53                 <link linkend="getmodules">getmodules</link>
54             </member>
55         </simplelist>
56     </refsection>
57 </refentry>