From 5caf7f4a33938f482be78d1b4a807e86411706f0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 27 May 1999 17:21:03 -0300 Subject: tremove erases its previous last element (to avoid locking potential garbagge). --- manual.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'manual.tex') diff --git a/manual.tex b/manual.tex index 1ad30d34..e8c3b6a5 100644 --- a/manual.tex +++ b/manual.tex @@ -1,4 +1,4 @@ -% $Id: manual.tex,v 1.31 1999/05/05 19:21:57 roberto Exp roberto $ +% $Id: manual.tex,v 1.32 1999/05/11 20:46:28 roberto Exp roberto $ \documentclass[11pt]{article} \usepackage{fullpage,bnf} @@ -41,7 +41,7 @@ Waldemar Celes \tecgraf\ --- Computer Science Department --- PUC-Rio } -\date{{\small \tt\$Date: 1999/05/05 19:21:57 $ $}} +\date{{\small \tt\$Date: 1999/05/11 20:46:28 $ $}} \maketitle @@ -2281,11 +2281,12 @@ except that the table accesses are all raw (that is, without tag methods): pos = pos or n local value = t[pos] if n<=0 then return end - t.n = n-1 while pos < n do t[pos] = t[pos+1] pos = pos+1 end + t[n] = nil + t.n = n-1 return value end \end{verbatim} -- cgit v1.2.3-55-g6feb