[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to get value of a lua variable into a C program variable.
- From: Ashish Ranjan <ashishwave@...>
- Date: Fri, 25 Jan 2002 05:42:39 -0800 (PST)
Thanx a lot Luiz :-)
Luv,
Ashish
--- Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> lua_dostring(L, "a=2;b=a+1");
> lua_getglobal(L,"b");
> d=lua_tonumber(L,-1);
>
> --lhf
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com