[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to execute a string in v. 5.2?
- From: marbux <marbux@...>
- Date: Fri, 12 Aug 2011 09:48:00 -0700
On Fri, Aug 12, 2011 at 8:54 AM, liam mail <firstname.lastname@example.org> wrote:
> On 12 August 2011 16:42, marbux <email@example.com> wrote:
> You are mistaken. loadstring  in 5.1 does not run the code yet returns a
> closure just the same as load  returns.
>  http://www.lua.org/manual/5.1/manual.html#pdf-loadstring
>  http://www.lua.org/work/doc/manual.html#pdf-load
Thank you for setting me straight. I misunderstood the documentation
in the 5.1 manual. So in its example:
"To load and run a given string, use the idiom
... the execution is performed by the callback?
Sorry for the questions but my programming skills are not that far
beyond "Hello, World."