Revision of Russian help page for resume function after commit 040712019dd358ba8f06b4...
[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>строковое значение, например: <literal>'core'</literal></para>
26                 </listitem>
27             </varlistentry>
28         </variablelist>
29     </refsection>
30     <refsection>
31         <title>Описание</title>
32         <para>
33             Возвращает <constant>%t</constant>, если установлен модуль Scilab'а <literal>module_name</literal>, и <constant>%f</constant>, если нет.
34         </para>
35     </refsection>
36     <refsection>
37         <title>Примеры</title>
38         <programlisting role="example"><![CDATA[
39 withXML = with_module("xml");
40 if withXML == %t then
41    disp("XML-модуль доступен");
42 else
43    disp("XML-модуль не доступен");
44 end
45  ]]></programlisting>
46     </refsection>
47     <refsection role="see also">
48         <title>Смотрите также</title>
49         <simplelist type="inline">
50             <member>
51                 <link linkend="getmodules">getmodules</link>
52             </member>
53         </simplelist>
54     </refsection>
55 </refentry>