----- Original Message ----- > How about this (for Lua 4.0): > > Lua: > function hello() print "Hello Beginner" end > > C: > lua_getglobal(L,"hello"); > lua_call(L,0,0); Even shorter: lua_dostring(L,"print 'Hello Beginner'"); /Erik