Revision of Russian help page for resume function after commit 040712019dd358ba8f06b4...
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_module.xml
index 40615b1..44b1e26 100644 (file)
@@ -1,5 +1,5 @@
 <?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">
+<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>
@@ -8,7 +8,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Последовательность вызова</title>
-        <synopsis>r=with_module(module_name)</synopsis>
+        <synopsis>r = with_module(module_name)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Аргументы</title>
@@ -22,7 +22,7 @@
             <varlistentry>
                 <term>module_name</term>
                 <listitem>
-                    <para>строковое значение, например: 'core'</para>
+                    <para>строковое значение, например: <literal>'core'</literal></para>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>Описание</title>
         <para>
-            Возвращает <literal>%t</literal>, если установлен модуль Scilab'а <literal>module_name</literal>, и <literal>%f</literal>, если нет.
+            Возвращает <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">