[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Most awesome string metatable hack
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 30 Jan 2014 22:15:13 -0200
> I think that this syntax is awesome enough for me to
> forgive lua for omitting printf!
It is a nice hack, but if you miss printf, here it is:
function printf(...)
return io.write(string.format(...))
end