~ubuntu-branches/ubuntu/lucid/scilab/lucid

« back to all changes in this revision

Viewing changes to modules/core/help/pt_BR/quit.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-04-28 18:47:03 UTC
  • mfrom: (1.1.7 upstream) (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090428184703-7thddz8vtwqmxmx2
Tags: 5.1.1-4
* librefblas3-dev does not exist (yet). Thanks to Jose Ramon
* Do not stop when ocamlopt is not available on the arch 
  (ocaml-not-available.diff)
* Provide a clear error message for archs where modelicac compiler is 
  not available (modelicac-not-available.diff)
* scilab startup script moved from package scilab => scilab-bin (because of
  the ocamlopt problem, I cannot predict if modelicac will be available or
  not. Therefor, I ship usr/bin/ instead of binary per binary. This will
  also simplifies the packaging of Scilab 5.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<refentry version="5.0-subset Scilab" xml:id="quit" xml:lang="en"
 
3
          xmlns="http://docbook.org/ns/docbook"
 
4
          xmlns:xlink="http://www.w3.org/1999/xlink"
 
5
          xmlns:svg="http://www.w3.org/2000/svg"
 
6
          xmlns:ns5="http://www.w3.org/1999/xhtml"
 
7
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
 
8
          xmlns:db="http://docbook.org/ns/docbook">
 
9
  <info>
 
10
    <pubdate>$LastChangedDate$</pubdate>
 
11
  </info>
 
12
 
 
13
  <refnamediv>
 
14
    <refname>quit</refname>
 
15
 
 
16
    <refpurpose>Decresce o n�vel de pausa ou termina o Scilab</refpurpose>
 
17
  </refnamediv>
 
18
 
 
19
  <refsynopsisdiv>
 
20
    <title>Seq��ncia de Chamamento</title>
 
21
 
 
22
    <synopsis>quit</synopsis>
 
23
  </refsynopsisdiv>
 
24
 
 
25
  <refsection>
 
26
    <title>Descri��o</title>
 
27
 
 
28
    <para>O comando <literal>quit</literal> tem dois significados diferentes
 
29
    dependendo do contexto de chamamento:</para>
 
30
 
 
31
    <variablelist>
 
32
      <varlistentry>
 
33
        <term>Se n�o houver <literal>pause</literal> ativo,</term>
 
34
 
 
35
        <listitem>
 
36
          <para>Ent�o o comando <literal>quit</literal> faz o Scilab terminar,
 
37
          mesmo que o comando seja chamado dentro de uma fun��o.</para>
 
38
        </listitem>
 
39
      </varlistentry>
 
40
 
 
41
      <varlistentry>
 
42
        <term>Se houver <literal>pause</literal> ativo,</term>
 
43
 
 
44
        <listitem>
 
45
          <para>Ent�o o comando <literal>quit</literal> aborta instru��es
 
46
          iniciadas neste n�vel de pausa e termina o n�vel de pausa
 
47
          corrente.</para>
 
48
        </listitem>
 
49
      </varlistentry>
 
50
    </variablelist>
 
51
  </refsection>
 
52
 
 
53
  <refsection>
 
54
    <title>Exemplos</title>
 
55
 
 
56
    <programlisting role="example">
 
57
      // Saindo do Scilab
 
58
      function foo(x),if x then quit,end,endfunction
 
59
      foo(%t) //quits scilab
 
60
 
 
61
      //terminando instru��o iniciada num contexto de pausa
 
62
      function foo(x),if x then quit,end,endfunction
 
63
      pause
 
64
      foo(%t) //retorna ao n�vel de prompt principal
 
65
 
 
66
      function foo1(x),
 
67
        mprintf('P1\n')
 
68
        if x then pause, mprintf('P2\n'),end,
 
69
        mprintf('P3\n')
 
70
      endfunction
 
71
     
 
72
      foo1(%t) //enter com quit no prompt seguinte
 
73
 
 
74
  </programlisting>
 
75
  </refsection>
 
76
 
 
77
  <refsection>
 
78
    <title>Ver Tamb�m</title>
 
79
 
 
80
    <simplelist type="inline">
 
81
      <member><link linkend="pause">pause</link></member>
 
82
 
 
83
      <member><link linkend="break">break</link></member>
 
84
 
 
85
      <member><link linkend="abort">abort</link></member>
 
86
 
 
87
      <member><link linkend="exit">exit</link></member>
 
88
    </simplelist>
 
89
  </refsection>
 
90
</refentry>