[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How access local variables with load*() functions
- From: Mildred <ml.mildred593@...>
- Date: Thu, 08 Sep 2005 21:57:32 +0200
Hi,
I just realized that I can't access locals variables with aly load*() function (load, loadfile, loadstring, dofile)
Why ?
Is that normal ?
What can I do to access those locals variables ?
$ lua
Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> do
>> local aa="bb"
>> loadstring("print('aa = ', aa)")()
>> end
aa = nil
>
Mildred
--
<http://louve.dyndns.org> ou <http://mildred632.free.fr>
Le courrier E-mail est une correspondance privée. Merci de vous y conformer
Attachment:
signature.asc
Description: OpenPGP digital signature