lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Thu, Dec 11, 2008 at 4:14 AM, CHU Run-min <churunmin@gmail.com> wrote:
local s = ("abc"):reverse()     VALID
local s = "abc":reverse()   INVALID
Why?

Probably because << print "bar":reverse() >> then wouldn't do what it seems to do?

-- Fabien.