aboutsummaryrefslogtreecommitdiff
path: root/manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual.tex')
-rw-r--r--manual.tex15
1 files changed, 2 insertions, 13 deletions
diff --git a/manual.tex b/manual.tex
index 373e0e10..3c550cd7 100644
--- a/manual.tex
+++ b/manual.tex
@@ -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,
686except for \verb|^| (exponentiation), 686except for \verb|^| (exponentiation),
687which is right associative. 687which 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}%
695An \Index{if expression} chooses an expression to evaluate
696according to its condition.
697Its final value is the value of the chosen expression.
698An absent else-part is equivalent to \verb|else nil|.
699
700\subsubsection{Table Constructors} \label{tableconstructor} 689\subsubsection{Table Constructors} \label{tableconstructor}
701Table \Index{constructors} are expressions that create tables; 690Table \Index{constructors} are expressions that create tables;
702every time a constructor is evaluated, a new table is created. 691every time a constructor is evaluated, a new table is created.