[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to execute a string in v. 5.2?
- From: liam mail <liam.list@...>
- Date: Fri, 12 Aug 2011 16:54:17 +0100
On 12 August 2011 16:42, marbux <firstname.lastname@example.org>
A newbie question about v. 5.2. The loadstring function apparently
will not be supported in v. 5.2. According to the draft manual, we'll
be able to load a string using load; but how may a loaded string be
executed in v. 5.2? That is functionality that is in loadstring in v.
5.1. I'd appreciate a command line example.
Thanks in advance,
You are mistaken. loadstring  in 5.1 does not run the code yet returns a closure just the same as load  returns.