|
Thanks, that helped me running the code and I saw I should have used loadstring instead of load. But then the second hurdle arises: function r(value, repeats) return string.format("value = %d repeats = %3d", value, repeats) end f = loadstring("r(3,4)") print ("f() = <“, f(), ”>") Alas, this returns: f = < nil > Clearly the call to r doesn’t has the result I had in mind. What is my error here?
Hans van der Meer
On 18 jan. 2014, at 17:37, Victor Bombi <sonoro@telefonica.net> wrote:
|