lua-users home
lua-l archive

Re: string.gsub and table replacements

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


On Fri, Jan 27, 2012 at 04:20, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> to make this work, you need to wrap the lookup:
>
> Or do
>        params = {["1"]='file.c', ["2"]='file.o'}
>
Well yes, but that isn't always feasible, e.g. with the {...} example.
-- 
Sent from my toaster.

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