Revision of Russian help page for resume function after commit 040712019dd358ba8f06b4...
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_module.xml
index 1bde6ec..44b1e26 100644 (file)
@@ -1,44 +1,55 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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="ru" xml:id="with_module">
-  <refnamediv>
-    <refname>with_module</refname>
-    <refpurpose>
-      проверка: установлен ли модуль Scilab'а
-    </refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Последовательность вызова</title>
-    <synopsis>r=with_module(module_name)</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Аргументы</title>
-    <variablelist>
-      <varlistentry>
-        <term>r</term>
-        <listitem>
-          <para>логическое значение</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>module_name</term>
-        <listitem>
-          <para>строковое значение, например: 'core'</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsection>
-  <refsection>
-    <title>Описание</title>
-    <para>
-      Возвращает <literal>%t</literal>, если установлен модуль Scilab'а <literal>module_name</literal>, и <literal>%f</literal>, если нет.
-    </para>
-  </refsection>
-  <refsection role="see also">
-    <title>Смотрите также</title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="getmodules">getmodules</link>
-      </member>
-    </simplelist>
-  </refsection>
+<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">
+    <refnamediv>
+        <refname>with_module</refname>
+        <refpurpose>
+            проверка: установлен ли модуль Scilab'а
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Последовательность вызова</title>
+        <synopsis>r = with_module(module_name)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Аргументы</title>
+        <variablelist>
+            <varlistentry>
+                <term>r</term>
+                <listitem>
+                    <para>логическое значение</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>module_name</term>
+                <listitem>
+                    <para>строковое значение, например: <literal>'core'</literal></para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Описание</title>
+        <para>
+            Возвращает <constant>%t</constant>, если установлен модуль Scilab'а <literal>module_name</literal>, и <constant>%f</constant>, если нет.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Примеры</title>
+        <programlisting role="example"><![CDATA[
+withXML = with_module("xml");
+if withXML == %t then
+   disp("XML-модуль доступен");
+else
+   disp("XML-модуль не доступен");
+end
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Смотрите также</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="getmodules">getmodules</link>
+            </member>
+        </simplelist>
+    </refsection>
 </refentry>