On 3 February 2010 Taco Hoekwater wrote:
Reinhard Kotucha wrote:
This seems to be wrong. select (1, ....) should only return the first argument, not both. I'm wondering why select (2, ....) works as expected. I must admit that I couldn't find any specs for select(), it just appears in some examples in the Lua book.
The reference manaul is separate. You can buy it on paper, but much easier is the free online version, because it conveniently starts with an index right after the toc:
Ahh, it's clear now. I overlooked it somehow there. Thanks, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------