[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Limited dostring()?
- From: Eric Tetz <erictetz@...>
- Date: Tue, 8 Jan 2002 16:25:56 -0800 (PST)
--- Markus Huber <pulse@evolution.org> wrote:
> Hi Lua Fans,
>
> why doesn't work the following example?
>
> Name='Test'
> function Test_Version() return 001 end
> print(dostring('return '..Name..'_Version()'))
>
> Prints: userdata(0): 00000000
> But I need: 1
Not the change to the print(dostring(... line.
Cheers,
Eric
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/