diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.25 1999/03/04 21:23:39 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.26 1999/03/10 14:09:45 roberto Exp roberto $ |
2 | 2 | ||
3 | \documentclass[11pt]{article} | 3 | \documentclass[11pt]{article} |
4 | \usepackage{fullpage,bnf} | 4 | \usepackage{fullpage,bnf} |
@@ -41,7 +41,7 @@ Waldemar Celes | |||
41 | \tecgraf\ --- Computer Science Department --- PUC-Rio | 41 | \tecgraf\ --- Computer Science Department --- PUC-Rio |
42 | } | 42 | } |
43 | 43 | ||
44 | %\date{\small \verb$Date: 1999/03/04 21:23:39 $} | 44 | %\date{\small \verb$Date: 1999/03/10 14:09:45 $} |
45 | 45 | ||
46 | \maketitle | 46 | \maketitle |
47 | 47 | ||
@@ -686,17 +686,6 @@ All binary operators are left associative, | |||
686 | except for \verb|^| (exponentiation), | 686 | except for \verb|^| (exponentiation), |
687 | which is right associative. | 687 | which is right associative. |
688 | 688 | ||
689 | \subsubsection{If Expressions} | ||
690 | \begin{Produc} | ||
691 | \produc{exp}{\rwd{if} exp1 \rwd{then} exp1 | ||
692 | \rep{\rwd{elseif} exp1 \rwd{then} exp1} | ||
693 | \opt{\rwd{else} exp1} \rwd{end}} | ||
694 | \end{Produc}% | ||
695 | An \Index{if expression} chooses an expression to evaluate | ||
696 | according to its condition. | ||
697 | Its final value is the value of the chosen expression. | ||
698 | An absent else-part is equivalent to \verb|else nil|. | ||
699 | |||
700 | \subsubsection{Table Constructors} \label{tableconstructor} | 689 | \subsubsection{Table Constructors} \label{tableconstructor} |
701 | Table \Index{constructors} are expressions that create tables; | 690 | Table \Index{constructors} are expressions that create tables; |
702 | every time a constructor is evaluated, a new table is created. | 691 | every time a constructor is evaluated, a new table is created. |