lua-users home
lua-l archive

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


Can someone explain me why

Services.ctl.start = function (service)
	return 0
end

works fine, while

function Services.ctl.start(service)
	return 0
end
	
gets parse error.

PS: I have
Services = {}
Services.ctl = {}

defined

-- 
The Best Things In Life Are Free.
                   -- ESR.