aboutsummaryrefslogtreecommitdiff
path: root/manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual.tex')
-rw-r--r--manual.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/manual.tex b/manual.tex
index b3e37013..c83104f0 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
1% $Id: manual.tex,v 1.7 1996/02/09 16:37:58 roberto Exp roberto $ 1% $Id: manual.tex,v 1.8 1996/02/09 17:21:27 roberto Exp roberto $
2 2
3\documentstyle[A4,11pt,bnf]{article} 3\documentstyle[A4,11pt,bnf]{article}
4 4
@@ -32,7 +32,7 @@ Waldemar Celes Filho
32Departamento de Inform\'atica --- PUC-Rio 32Departamento de Inform\'atica --- PUC-Rio
33} 33}
34 34
35\date{\small \verb$Date: 1996/02/09 16:37:58 $} 35\date{\small \verb$Date: 1996/02/09 17:21:27 $}
36 36
37\maketitle 37\maketitle
38 38
@@ -1440,17 +1440,17 @@ and strings with \verb'%s'.
1440For better format facilities, 1440For better format facilities,
1441the function \verb'format' should be used (\see{format}). 1441the function \verb'format' should be used (\see{format}).
1442 1442
1443\subsubsection*{{\tt date ()}}\Deffunc{date} 1443\subsubsection*{{\tt date ([format])}}\Deffunc{date}
1444 1444
1445This function returns 4 values: 1445This function returns a string containing date and time
1446the current day of the month, 1446formatted according to the given string \verb'format',
1447the month ([1-12]), the current year, 1447following the same rules of the ANSI C function \verb'strftime'.
1448and the day of the week (1 = Sunday, 7 = Saturday). 1448When called without arguments,
1449it returns a reasonable date and time representation.
1449 1450
1450\subsubsection*{{\tt time ()}}\Deffunc{time} 1451This function replaces functions \verb'date' and \verb'time' from
1452previous Lua versions.
1451 1453
1452This function returns the current time through 3 values:
1453hours ([0-23]), minutes, and seconds.
1454 1454
1455% \subsubsection*{{\tt debug ()}} 1455% \subsubsection*{{\tt debug ()}}
1456% This function, when called, repeatedly presents a prompt \verb'lua_debug> ' 1456% This function, when called, repeatedly presents a prompt \verb'lua_debug> '