Page 1 of 1

New to Lua & Love- Simple Code Question

Posted: Mon Dec 17, 2012 4:16 pm
by Willowton
As the title stated, I'm pretty new to Love and the Lua language. I've been running through a bunch of tutorials, when I came across the following line of code:

Code: Select all

	if v.y > 465 then
Heres the link to the tutorial it came from: http://www.headchant.com/2010/12/31/lov ... 2-pew-pew/
(The code I'm looking at is in the 3rd black chunk of code down the page)

I've been studying Java at my college, so I'm not quite comfortable with Lua yet. My question is, what does the "&gt" stand for? I've done a bunch of searching, but haven't been able to figure it out... Any help in the right direction is greatly appreciated!

Edit: Pointed to the wrong black chunk of code.

Re: New to Lua & Love- Simple Code Question

Posted: Mon Dec 17, 2012 4:46 pm
by Nixola
It should be ">", > doesn't mean anything in Lua but in HTML it should become ">"

Re: New to Lua & Love- Simple Code Question

Posted: Mon Dec 17, 2012 4:50 pm
by Willowton
Thank you so much! I thought it might be something simple like that.