diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.31 1999/05/05 19:21:57 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.32 1999/05/11 20:46:28 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 \tt\$Date: 1999/05/05 19:21:57 $ $}} | 44 | \date{{\small \tt\$Date: 1999/05/11 20:46:28 $ $}} |
45 | 45 | ||
46 | \maketitle | 46 | \maketitle |
47 | 47 | ||
@@ -2281,11 +2281,12 @@ except that the table accesses are all raw (that is, without tag methods): | |||
2281 | pos = pos or n | 2281 | pos = pos or n |
2282 | local value = t[pos] | 2282 | local value = t[pos] |
2283 | if n<=0 then return end | 2283 | if n<=0 then return end |
2284 | t.n = n-1 | ||
2285 | while pos < n do | 2284 | while pos < n do |
2286 | t[pos] = t[pos+1] | 2285 | t[pos] = t[pos+1] |
2287 | pos = pos+1 | 2286 | pos = pos+1 |
2288 | end | 2287 | end |
2288 | t[n] = nil | ||
2289 | t.n = n-1 | ||
2289 | return value | 2290 | return value |
2290 | end | 2291 | end |
2291 | \end{verbatim} | 2292 | \end{verbatim} |