* bug 15070 fixed: bitset() failed for bit pos as encoded integer
[scilab.git] / scilab / modules / core / help / ru_RU / variables / isglobal.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="isglobal">
3     <refnamediv>
4         <refname>isglobal</refname>
5         <refpurpose>
6             проверка, является ли переменная глобальной
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Синтаксис</title>
11         <synopsis>t = isglobal(x)</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>Аргументы</title>
15         <variablelist>
16             <varlistentry>
17                 <term>x</term>
18                 <listitem>
19                     <para>любая переменная.</para>
20                 </listitem>
21             </varlistentry>
22             <varlistentry>
23                 <term>t</term>
24                 <listitem>
25                     <para>логическое значение.</para>
26                 </listitem>
27             </varlistentry>
28         </variablelist>
29     </refsection>
30     <refsection>
31         <title>Описание</title>
32         <para>
33             <code>isglobal(x)</code> возвращает <emphasis>истину</emphasis>, если <varname>x</varname>
34             была объявлена глобальной переменной, и <emphasis>ложь</emphasis> в противном случае.
35         </para>
36     </refsection>
37     <refsection>
38         <title>Примеры</title>
39         <programlisting role="example"><![CDATA[
40 isglobal(1)
41 global a
42 isglobal(a)
43  ]]></programlisting>
44     </refsection>
45     <refsection role="see also">
46         <title>Смотрите также</title>
47         <simplelist type="inline">
48             <member>
49                 <link linkend="global">global</link>
50             </member>
51             <member>
52                 <link linkend="clearglobal">clearglobal</link>
53             </member>
54             <member>
55                 <link linkend="who">who</link>
56             </member>
57         </simplelist>
58     </refsection>
59 </refentry>