[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: loadstring to create a function with parameters
- From: Terisquas Brothers <terisquas@...>
- Date: Fri, 22 Dec 2006 14:23:15 +0000 (GMT)
> In 5.1, chunks are compiled as vararg functions, not
> as functions of no
> arguments. So a chunk can acquire its arguments
> easily:
>
> -- foo.lua
> local a, b, c = ...
>
thanks! It works wonderfully! :)
____________________________________________________
Yahoo! Photos is now offering a quality print service from just 7p a photo. http://uk.photos.yahoo.com