lua-users home
lua-l archive

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


Yes, this is the common way of do this.
But I woul like to know if is possible to get the
memory address of a variable, to speed it's updating.
> 
> I assume that GetTime() returns a number (integer or
> float). Then you change
> global variable "time" that way:
> 
> lua_pushnumber(L, GetTime());
> lua_setglobal(L, "time");
>  

______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora! 
http://br.download.yahoo.com/messenger/