root/src/lua/test/printf.lua

Revision 22d1941d0ca5ba7027cdfa51ce34bd1d8fb1931e, 169 bytes (checked in by Theo Schlossnagle <jesus@omniti.com>, 10 years ago)

take the version out... it is what it is

  • Property mode set to 100644
Line 
1 -- an implementation of printf
2
3 function printf(...)
4  io.write(string.format(...))
5 end
6
7 printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())
Note: See TracBrowser for help on using the browser.