13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="edit" xml:lang="en">
15
<refname>edit</refname>
16
<refpurpose>edição de funções</refpurpose>
19
<title>Seqüência de Chamamento</title>
20
<synopsis>edit(functionname)</synopsis>
23
<title>Parameters</title>
26
<term>functionname</term>
34
<title>Descrição</title>
35
<para>Se functionname for o nome de uma função Scilab definida
36
<literal>edit(functionname)</literal> tente abrir o arquivo associado
37
<literal>functionname.sci</literal>.
39
<para>Se functionname for o nome de uma função Scilab indefinida,
40
<literal>edit</literal> cria o arquivo functionname.sci no diretório
45
<title>Exemplos</title>
46
<programlisting role="example"><![CDATA[
15
<refname>edit</refname>
16
<refpurpose>edição de funções</refpurpose>
19
<title>Seqüência de Chamamento</title>
20
<synopsis>edit(functionname)</synopsis>
23
<title>Parameters</title>
26
<term>functionname</term>
34
<title>Descrição</title>
35
<para>Se functionname for o nome de uma função Scilab definida
36
<literal>edit(functionname)</literal> tente abrir o arquivo associado
37
<literal>functionname.sci</literal>.
39
<para>Se functionname for o nome de uma função Scilab indefinida,
40
<literal>edit</literal> cria o arquivo functionname.sci no diretório
45
<title>Exemplos</title>
46
<programlisting role="example"><![CDATA[
47
47
edit('edit') //abre o editor com o texto dessa função
48
48
edit('myfunction') //abre o editor para uma nova função
49
49
]]></programlisting>
52
<title>Ver Também</title>
53
<simplelist type="inline">
55
<link linkend="manedit">manedit</link>
52
<title>Ver Também</title>
53
<simplelist type="inline">
55
<link linkend="manedit">manedit</link>