[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: 4.0 manual error
From: "John Belmonte" <jvb () prairienet ! org>
Date: 2001-06-26 13:12:35
Message-ID: 00b301c0fe41$ab112210$8402a8c0 () johndell
[Download RAW message or body]
In the following from section 4.4.4, "t" in the next calls should be
replaced with "_t".
>>>>
A for statement like
for index, value in exp do block end
is equivalent to the code:
do
local _t = exp
local index, value = next(t, nil)
while index do
block
index, value = next(t, index)
end
end
<<<<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic