aboutsummaryrefslogtreecommitdiff
path: root/libs/lua/test/printf.lua
blob: 58c63ff5184e4f4274f9e0408a2959526c365ac0 (plain)
1
2
3
4
5
6
7
-- an implementation of printf

function printf(...)
 io.write(string.format(...))
end

printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())