lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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


<> ou <>
Le courrier E-mail est une correspondance privée. Merci de vous y conformer

Attachment: signature.asc
Description: OpenPGP digital signature