diff options
| -rw-r--r-- | manual.tex | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | % $Id: manual.tex,v 1.16 1996/04/22 18:00:37 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.17 1996/04/29 18:50:08 roberto Exp roberto $ |
| 2 | 2 | ||
| 3 | \documentstyle[fullpage,11pt,bnf]{article} | 3 | \documentstyle[fullpage,11pt,bnf]{article} |
| 4 | 4 | ||
| @@ -34,7 +34,7 @@ Waldemar Celes Filho | |||
| 34 | \tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio | 34 | \tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | \date{\small \verb$Date: 1996/04/22 18:00:37 $} | 37 | \date{\small \verb$Date: 1996/04/29 18:50:08 $} |
| 38 | 38 | ||
| 39 | \maketitle | 39 | \maketitle |
| 40 | 40 | ||
| @@ -753,6 +753,8 @@ int lua_dostring (char *string); | |||
| 753 | \end{verbatim} | 753 | \end{verbatim} |
| 754 | Both functions return an error code: | 754 | Both functions return an error code: |
| 755 | 0, in case of success; non zero, in case of errors. | 755 | 0, in case of success; non zero, in case of errors. |
| 756 | More specifically, \verb'lua_dofile' returns 2 if for any reason | ||
| 757 | it could not open the file. | ||
| 756 | The function \verb'lua_dofile', if called with argument NULL (0), | 758 | The function \verb'lua_dofile', if called with argument NULL (0), |
| 757 | executes the ``file'' {\tt stdin}. | 759 | executes the ``file'' {\tt stdin}. |
| 758 | Function \verb'lua_dofile' is also able to execute pre-compiled chunks. | 760 | Function \verb'lua_dofile' is also able to execute pre-compiled chunks. |
| @@ -1301,7 +1303,7 @@ are correctly escaped when written. | |||
| 1301 | The options \verb'c', \verb'd', \verb'E', \verb'e', \verb'f', | 1303 | The options \verb'c', \verb'd', \verb'E', \verb'e', \verb'f', |
| 1302 | \verb'g' \verb'i', \verb'o', \verb'u', \verb'X', and \verb'x' all | 1304 | \verb'g' \verb'i', \verb'o', \verb'u', \verb'X', and \verb'x' all |
| 1303 | expect a number argument, | 1305 | expect a number argument, |
| 1304 | while \verb'q' and \verb's' expects a string. | 1306 | while \verb'q' and \verb's' expect a string. |
| 1305 | 1307 | ||
| 1306 | 1308 | ||
| 1307 | \subsection{Mathematical Functions} \label{mathlib} | 1309 | \subsection{Mathematical Functions} \label{mathlib} |
