- - - - CENAPAD-MGCO

contents index A seguir: Comandos Alternativos e Repetitivos: Acima: Conceitos e Notações Anterior: Comandos de Entrada e


Comandos Alternativos e Repetitivos: Sintaxe

<repetitive command> ::= *<alternative command>

<alternative command> ::= [<guarded command>
                           {|| guarded command>}]

<guarded command> ::= <guard> -> <command list> |
                      <range list> 
                        <guard> -> <command list>

<guard> ::= <guard list>|
            <guard list> ; <input command> |
            <input command>

<guard list> ::= <guard element> {; <guard element>}

<guard element> ::= <boolean expression> |
                    <declaration>



Osvaldo Carvalho - Postscript - Comentários?