Page 2 of 2

Re: two more beginner lua questions

Posted: Mon Jul 16, 2012 11:12 pm
by AaronV
Oh thanks! now i get it. one is the location in the table and the other is the value in that location.
still fumbling my way around this thing.
got to improve the structure of my sine approximating program.
it's pretty messy, but it works. it's a lot faster than math.sin().
i'm getting it.


see he set a and b, built the for loop with a and v, and then printed a and b.
that's why his second result always printed 2.
had me confused.


thanks guys! everyone, really. thank you all.