Fix the help errors (I forgot to amend the previous commit)
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_tk.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_tk">
3     <refnamediv>
4         <refname>with_tk</refname>
5         <refpurpose>проверка: собран ли Scilab с TCL/TK</refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>Последовательность вызова</title>
9         <synopsis>r = with_tk()</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             Возвращает <constant>%t</constant>, если Scilab собран с TCL/TK-интерфейсом, и
26             <constant>%f</constant>, если нет.
27         </para>
28     </refsection>
29     <refsection>
30         <title>Примеры</title>
31         <programlisting role="example"><![CDATA[
32 if with_tk() == %t then
33    disp("Tk доступен");
34 else
35    disp("Tk не доступен");
36 end
37  ]]></programlisting>
38     </refsection>
39 </refentry>