[doc] misc. fix & improvements
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_macros_source.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_macros_source">
3     <refnamediv>
4         <refname>with_macros_source</refname>
5         <refpurpose>проверка: установлены ли исходники макросов</refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>Синтаксис</title>
9         <synopsis>r = with_macros_source()</synopsis>
10     </refsynopsisdiv>
11     <refsection>
12         <title>Аргументы</title>
13         <variablelist>
14             <varlistentry>
15                 <term>r</term>
16                 <listitem>
17                     <para>логическое значение</para>
18                 </listitem>
19             </varlistentry>
20         </variablelist>
21     </refsection>
22     <refsection>
23         <title>Описание</title>
24         <para>
25             Возвращает <literal>%t</literal>, если исходники макросов установлены, и
26             <literal>%f</literal>, если нет.
27         </para>
28     </refsection>
29     <refsection>
30         <title>Примеры</title>
31         <programlisting role="example"><![CDATA[
32 if with_macros_source() == %t then
33    disp("Исходные коды макросов Scilab''а установлены");
34 end
35  ]]></programlisting>
36     </refsection>
37 </refentry>