1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
4 xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
5 xmlns:scilab="http://www.scilab.org" xml:id="where" xml:lang="pt">
7 <refname>where</refname>
8 <refpurpose>retorna a árvore de chamamento de instruções
13 <title> Seqüência de Chamamento </title>
14 <synopsis>[linenum,mac]=where()</synopsis>
17 <title>Parâmetros</title>
22 <para>vetor coluna de inteiros </para>
28 <para>vetor coluna de strings</para>
34 <title>Descrição</title>
36 Retorna <literal>linenum</literal> e <literal>mac</literal> tais que
37 a instrução corrente foi chamada pela linha <literal>linenum(1)</literal> da função <literal>mac(1)</literal>,
38 <literal>mac(1)</literal> foi chamada pela linha <literal>linenum(2)</literal> da função <literal>mac(2)</literal>, e assim por
42 <literal>mac(i)</literal> é, em geral o nome de uma função, mas também pode ser <literal>"exec"</literal>
43 ou <literal>"execstr"</literal> se a instrução reside em um arquivo executável ou em uma
48 <title>Exemplo</title>
49 <programlisting role="example"><![CDATA[
82 <title> Ver Também </title>
83 <simplelist type="inline">
85 <link linkend="whereami">whereami</link>
88 <link linkend="recursionlimit">recursionlimit</link>
91 <link linkend="pause">pause</link>