Jump to content




Advanced Variables


  • You cannot reply to this topic
2 replies to this topic

#1 Xemiru

  • Members
  • 38 posts

Posted 23 June 2012 - 07:41 AM

For some of you, this might not be advanced.
But for me, it is. I'm asking about being able to add a variable via code, instead of coding the variable itself manually.
I'm looking through the LUA docs right now, but no avail.

#2 Xemiru

  • Members
  • 38 posts

Posted 23 June 2012 - 08:35 AM

Solved.

Nevermind, I found something that I can use for this.

#3 kazagistar

  • Members
  • 365 posts

Posted 23 June 2012 - 07:30 PM

At the simple level, you can use numbered tables.

If you mean actually new variable types, the best you can do is metatables, but they still function as tables at some level.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users