Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Topic started by: Kirl on September 03, 2012

Title: using arrays/tables in Lua?
Post by: Kirl on September 03, 2012
Anybody got any experience with Lua?

I'm playing around with the coding app codea (or codify) for ipad and I'm having some trouble filling an array/table with xy values and retrieving them.
Title: Re: using arrays/tables in Lua?
Post by: hellfire on September 03, 2012
Not a single clue here but it looks pretty straight forward (http://www.lua.org/pil/11.1.html)...
Title: Re: using arrays/tables in Lua?
Post by: Kirl on September 03, 2012
Thanks I'm having trouble storing a double value (x and y) per array item in particular. The next page about multi dimensional arrays may offer a solution, thanks for the link! :)