How to make a variable collection

前端 未结 0 1977
清歌不尽
清歌不尽 2020-12-28 22:46

I need to know how to do something like how in Lua you would use:

foo={
   x=7,
   y=5
}

and retrieve the variables with foo.x.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题