1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry version="5.0-subset Scilab" xml:id="predef" xml:lang="en"
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">
<info>
<pubdate>$LastChangedDate$</pubdate>
</info>
<refnamediv>
<refname>predef</refname>
<refpurpose>proteo de variveis</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Seqncia de Chamamento</title>
<synopsis>n=predef()
oldnew=predef(n)
oldnew=predef('all')
oldnew=predef('clear')</synopsis>
</refsynopsisdiv>
<refsection>
<title>Descrio</title>
<para>Funo utilitria para definir as variveis "mais antigas" como
"protegidas". Variveis protegidas no podem ser cancelada. Elas no so
salvas pelo comando <literal>'save'</literal> . As variveis "mais
antigas" so aquelas que aparecem por ltimo em
<literal>who('get')</literal>.</para>
<para><literal>predef()</literal> retorna o nmero de variveis
protegidas.</para>
<para><literal>predef('a[ll]')</literal> ajusta todas as variveis como
protegidas, tambm retorna o nmero antigo e o novo de variveis
protegidas.</para>
<para><literal>predef('c[lear]')</literal> desprotege todas as variveis,
exceto as 7 ltimas e tambm retorna o nmero antigo e o novo de variveis
protegidas.</para>
<para><literal>predef(n) </literal>ajusta as <literal>max(n,7)</literal>
ltimas variveis definidas como protegidas, tambm retorna o nmero
antigo e o novo de variveis protegidas. </para>
</refsection>
<refsection>
<title>Observao </title>
<para>Um nmero de variveis protegidas est configurado no arquivo de
"start-up" (inicializao) <literal>SCI/etc/scilab.start</literal>. O
usurio pode, em particular, configurar suas prprias variveis
predefinidas nos arquivos de inicializao do usurio
<literal>SCIHOME/.scilab</literal> e
<literal>SCIHOME/scilab.ini</literal></para>
<para>Definio SCIHOME: no Windows : C:/Documents and
Settings/<User>/Scilab/<Scilab-Version> No Linux/Unix :
/home/<User>/.Scilab/<Scilab-Version> </para>
</refsection>
<refsection>
<title>Ver Tambm</title>
<simplelist type="inline">
<member><link linkend="clear">clear</link></member>
<member><link linkend="save">save</link></member>
</simplelist>
</refsection>
</refentry>
|