1
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
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:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="where" xml:lang="pt">
4
<refname>where</refname>
5
<refpurpose>retorna a �rvore de chamamento de instru��es
10
<title> Seq��ncia de Chamamento </title>
11
<synopsis>[linenum,mac]=where()</synopsis>
14
<title>Par�metros</title>
19
<para>vetor coluna de inteiros </para>
25
<para>vetor coluna de strings</para>
31
<title>Descri��o</title>
33
Retorna <literal>linenum</literal> e <literal>mac</literal> tais que
34
a instru��o corrente foi chamada pela linha <literal>linenum(1)</literal> da fun��o <literal>mac(1)</literal>,
35
<literal>mac(1)</literal> foi chamada pela linha <literal>linenum(2)</literal> da fun��o <literal>mac(2)</literal>, e assim por
39
<literal>mac(i)</literal> �, em geral o nome de uma fun��o, mas tamb�m pode ser <literal>"exec"</literal>
40
ou <literal>"execstr"</literal> se a instru��o reside em um arquivo execut�vel ou em uma
45
<title> Ver Tamb�m </title>
46
<simplelist type="inline">
48
<link linkend="whereami">whereami</link>
51
<link linkend="pause">pause</link>
4
<refname>where</refname>
5
<refpurpose>retorna a �rvore de chamamento de instru��es
10
<title> Seq��ncia de Chamamento </title>
11
<synopsis>[linenum,mac]=where()</synopsis>
14
<title>Par�metros</title>
19
<para>vetor coluna de inteiros </para>
25
<para>vetor coluna de strings</para>
31
<title>Descri��o</title>
33
Retorna <literal>linenum</literal> e <literal>mac</literal> tais que
34
a instru��o corrente foi chamada pela linha <literal>linenum(1)</literal> da fun��o <literal>mac(1)</literal>,
35
<literal>mac(1)</literal> foi chamada pela linha <literal>linenum(2)</literal> da fun��o <literal>mac(2)</literal>, e assim por
39
<literal>mac(i)</literal> �, em geral o nome de uma fun��o, mas tamb�m pode ser <literal>"exec"</literal>
40
ou <literal>"execstr"</literal> se a instru��o reside em um arquivo execut�vel ou em uma
45
<title> Ver Tamb�m </title>
46
<simplelist type="inline">
48
<link linkend="whereami">whereami</link>
51
<link linkend="pause">pause</link>