diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.21 1998/11/20 15:41:43 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.22 1999/02/05 12:15:07 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: 1998/11/20 15:41:43 $} | 44 | %\date{\small \verb$Date: 1999/02/05 12:15:07 $} |
45 | 45 | ||
46 | \maketitle | 46 | \maketitle |
47 | 47 | ||
@@ -91,7 +91,7 @@ a intera\c{c}\~ao entre programas Lua e programas C hospedeiros. | |||
91 | \begin{quotation} | 91 | \begin{quotation} |
92 | \noindent | 92 | \noindent |
93 | \footnotesize | 93 | \footnotesize |
94 | Copyright \copyright\ 1994--1998 TeCGraf, PUC-Rio. All rights reserved. | 94 | Copyright \copyright\ 1994--1999 TeCGraf, PUC-Rio. All rights reserved. |
95 | 95 | ||
96 | \noindent | 96 | \noindent |
97 | Permission is hereby granted, without written agreement and without license | 97 | Permission is hereby granted, without written agreement and without license |
@@ -697,10 +697,11 @@ An absent else-part is equivalent to \verb|else nil|. | |||
697 | 697 | ||
698 | \subsubsection{Assignment Expressions} | 698 | \subsubsection{Assignment Expressions} |
699 | \begin{Produc} | 699 | \begin{Produc} |
700 | \produc{exp}{\ter{(} var \ter{=} exp1 \ter{)}} | 700 | \produc{exp}{\ter{(} varlist1 \ter{=} explist1 \ter{)}} |
701 | \end{Produc}% | 701 | \end{Produc}% |
702 | An \Index{assignment expression} executes a regular assignment, | 702 | An \Index{assignment expression} executes a multiple assignment, |
703 | and results in the final value of its right hand expression. | 703 | and results in the final value of its first right hand expression |
704 | (that is, the value assigned to the first variable in the variable list). | ||
704 | 705 | ||
705 | \subsubsection{Table Constructors} \label{tableconstructor} | 706 | \subsubsection{Table Constructors} \label{tableconstructor} |
706 | Table \Index{constructors} are expressions that create tables; | 707 | Table \Index{constructors} are expressions that create tables; |
@@ -2752,7 +2753,8 @@ plus a string describing the error. | |||
2752 | 2753 | ||
2753 | \subsubsection*{\ff \T{seek (filehandle [, whence] [, offset])}}\Deffunc{seek} | 2754 | \subsubsection*{\ff \T{seek (filehandle [, whence] [, offset])}}\Deffunc{seek} |
2754 | 2755 | ||
2755 | Sets the file position, measured in bytes from the beginning of the file, | 2756 | Sets and gets the file position, |
2757 | measured in bytes from the beginning of the file, | ||
2756 | to the position given by \verb|offset| plus a base | 2758 | to the position given by \verb|offset| plus a base |
2757 | specified by the string \verb|whence|, as follows: | 2759 | specified by the string \verb|whence|, as follows: |
2758 | \begin{description} | 2760 | \begin{description} |