lua-users home
lua-l archive

Re: table constructor and loadstring()?

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


On 2005年3月10日 19:45:46 +0100, PA <petite.abeille@gmail.com> wrote:
> 
> Ooops... my bad... so... { foo = "bar" } is correct, right?
> 
> But I need square brackets if I want something like "foo bar" = "baz",
> for example { [ "foo bar" ] = "baz" }, correct?
Yes, and I think so. Though when you think about it, I don't think
that allowing spaces would introduce parsing ambiguities.... hm.

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