At sign ``@'' in key
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: At sign ``@'' in key
- From: Grizzly Bear <6grizzlybear@...>
- Date: 2012年12月19日 17:26:00 -0800
Hi,
I'd really want to have the at sign ``@'' in the key of a table, e.g.,
tab["var@addr"] = 1.
But I haven't been able to do
tab.var@addr = 1.
The error message was
stdin:1: '=' expected near '@'
I'm using Lua 5.1.5. Any suggestions?
Thanks.
Wei