lua-users home
lua-l archive

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

Slightly OT but on topic of how to improve multiple assignments: 
Has anyone ever wished for something like

local sub, gmatch, match load string
-- where load is a keyword that is syntactic sugar for 'local sub, gmatch, match = string.sub, string.gmatch, string.match'