diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-13 17:00:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-13 17:00:51 -0300 |
commit | 94b5ad31f4e6bd0a93b8b156e7274e8aae7e2535 (patch) | |
tree | 15fd11669163f1465a46af71cc5fea65f7801292 | |
parent | 90d26b9266154d9afe8eda2075a221c64e8f2cd5 (diff) | |
download | lua-94b5ad31f4e6bd0a93b8b156e7274e8aae7e2535.tar.gz lua-94b5ad31f4e6bd0a93b8b156e7274e8aae7e2535.tar.bz2 lua-94b5ad31f4e6bd0a93b8b156e7274e8aae7e2535.zip |
details
-rw-r--r-- | manual.tex | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,4 +1,5 @@ | |||
1 | % $Id: manual.tex,v 1.59 2002/08/12 17:43:35 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.60 2002/08/13 19:44:47 roberto Exp roberto $ |
2 | %{[( | ||
2 | 3 | ||
3 | \documentclass[11pt,twoside,draft]{article} | 4 | \documentclass[11pt,twoside,draft]{article} |
4 | \usepackage{fullpage} | 5 | \usepackage{fullpage} |
@@ -133,7 +134,7 @@ Waldemar Celes | |||
133 | \tecgraf\ --- Computer Science Department --- PUC-Rio | 134 | \tecgraf\ --- Computer Science Department --- PUC-Rio |
134 | } | 135 | } |
135 | 136 | ||
136 | %\date{{\small \tt\$Date: 2002/08/12 17:43:35 $ $}} | 137 | %\date{{\small \tt\$Date: 2002/08/13 19:44:47 $ $}} |
137 | 138 | ||
138 | \maketitle | 139 | \maketitle |
139 | 140 | ||
@@ -574,7 +575,7 @@ may contain nested \verb|[[| $\ldots$ \verb|]]| pairs, | |||
574 | and do not interpret escape sequences. | 575 | and do not interpret escape sequences. |
575 | For convenience, | 576 | For convenience, |
576 | when the opening \verb|[[| is immediately followed by a newline, | 577 | when the opening \verb|[[| is immediately followed by a newline, |
577 | the newline is not included in the string. | 578 | the newline is not included in the string. % ]] |
578 | That form is specially convenient for | 579 | That form is specially convenient for |
579 | writing strings that contain program pieces or | 580 | writing strings that contain program pieces or |
580 | other quoted strings. | 581 | other quoted strings. |
@@ -583,11 +584,11 @@ As an example, in a system using ASCII | |||
583 | newline is coded as~10, and `\verb|1|' is coded as~49), | 584 | newline is coded as~10, and `\verb|1|' is coded as~49), |
584 | the four literals below denote the same string: | 585 | the four literals below denote the same string: |
585 | \begin{verbatim} | 586 | \begin{verbatim} |
586 | 1) "alo\n123\"" | 587 | (1) "alo\n123\"" |
587 | 2) '\97lo\10\04923"' | 588 | (2) '\97lo\10\04923"' |
588 | 3) [[alo | 589 | (3) [[alo |
589 | 123"]] | 590 | 123"]] |
590 | 4) [[ | 591 | (4) [[ |
591 | alo | 592 | alo |
592 | 123"]] | 593 | 123"]] |
593 | \end{verbatim} | 594 | \end{verbatim} |
@@ -3575,7 +3576,7 @@ are interfaces to the simple random generator functions | |||
3575 | (No guarantees can be given for their statistical properties.) | 3576 | (No guarantees can be given for their statistical properties.) |
3576 | When called without arguments, | 3577 | When called without arguments, |
3577 | \verb|math.random| returns a pseudo-random real number | 3578 | \verb|math.random| returns a pseudo-random real number |
3578 | in the range \Math{[0,1)}. | 3579 | in the range \Math{[0,1)}. %] |
3579 | When called with a number \Math{n}, | 3580 | When called with a number \Math{n}, |
3580 | \verb|math.random| returns a pseudo-random integer in the range \Math{[1,n]}. | 3581 | \verb|math.random| returns a pseudo-random integer in the range \Math{[1,n]}. |
3581 | When called with two arguments, \Math{l} and \Math{u}, | 3582 | When called with two arguments, \Math{l} and \Math{u}, |
@@ -4111,7 +4112,7 @@ Function calls written between parentheses result in exactly one value. | |||
4111 | 4112 | ||
4112 | \item | 4113 | \item |
4113 | A function call as the last expression in a list constructor | 4114 | A function call as the last expression in a list constructor |
4114 | (like \verb|{a,b,f()}}|) has all its return values inserted in the list. | 4115 | (like \verb|{a,b,f()}|) has all its return values inserted in the list. |
4115 | 4116 | ||
4116 | \item | 4117 | \item |
4117 | The precedence of \rwd{or} is smaller than the precedence of \rwd{and}. | 4118 | The precedence of \rwd{or} is smaller than the precedence of \rwd{and}. |
@@ -4279,3 +4280,4 @@ enclosed in single quotes. | |||
4279 | \input{manual.id} | 4280 | \input{manual.id} |
4280 | 4281 | ||
4281 | \end{document} | 4282 | \end{document} |
4283 | %)]} | ||