use lua_mem(L, +-size) to track your additional userdata sizes. keep it balanced...
[blua.git] / test / printf.lua
blob58c63ff5184e4f4274f9e0408a2959526c365ac0
1 -- an implementation of printf
3 function printf(...)
4 io.write(string.format(...))
5 end
7 printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())