Fix 'elseif' doc bug
[bpt/mlt.git] / doc / manual.tex
index a37f7d5..7bd6bb2 100644 (file)
@@ -151,10 +151,10 @@ If statements are in the usual imperative style, meaning that else clauses are o
 \begin{verbatim}
 if condition1 then
        block1
-else if condition 2 then
-       block 2
+elseif condition 2 then
+       block2
 else
-       block 3
+       block3
 end
 \end{verbatim}
 
@@ -175,7 +175,7 @@ Where {\tt exp} has type {\tt t list}, {\tt block} is executed for each of {\tt
 There is also a shortcut integer iteration form:
 
 \begin{verbatim}
-foreach var in fromExp .. toExp do
+for var in fromExp .. toExp do
        block
 end
 \end{verbatim}