in EvaluateExpr checking for local variables
int iIndex = 0; wxString name = lua2wx(lua_getlocal(L, &ar, ++iIndex)); while(!name.IsEmpty()) { .... name = lua2wx(lua_getlocal(L, &ar, ++iIndex)); } this allows the local variables to be evaluated Andre ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users