<?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" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="who_user">
    <refnamediv>
        <refname>who_user</refname>
        <refpurpose>listing of user's variables</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
            varList = who_user()
            varList = who_user(bPrint)
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>bPrint</term>
                <listitem>
                    <para>
                        enable or disable screen outputs (default: <constant>%t</constant>).
                    </para>
                </listitem>
            </varlistentry>
        </variablelist>
        <variablelist>
            <varlistentry>
                <term>varList</term>
                <listitem>
                    <para>
                        a column vector of user's variables or <literal>[]</literal> if user does not have variable.
                    </para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
            <literal>who_user</literal> displays and/or returns user's variable names.
        </para>
    </refsection>
    <refsection>
        <title>Examples</title>
        <programlisting role="code_scilab"><![CDATA[
clear
who_user()
who_user(%t)
who_user(%f)
a = 1;
b = 2;
who_user()
who_user(%t)
who_user(%f)
      ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="whos">whos</link>
            </member>
            <member>
                <link linkend="who">who</link>
            </member>
        </simplelist>
    </refsection>
    <refsection>
        <title>History</title>
        <revhistory>
            <revision>
                <revnumber>5.4.0</revnumber>
                <revremark>
                    <function>who_user</function> can now return user's
                    variable names in a column vector of character strings.
                </revremark>
            </revision>
        </revhistory>
    </refsection>
</refentry>
