lua-users home
lua-l archive

lua syntax q

[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.

AltStyle によって変換されたページ (->オリジナル) /