New to Lua & Love- Simple Code Question

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Willowton
Prole
Posts: 5
Joined: Mon Dec 17, 2012 4:05 pm

New to Lua & Love- Simple Code Question

Post 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.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: New to Lua & Love- Simple Code Question

Post by Nixola »

It should be ">", > doesn't mean anything in Lua but in HTML it should become ">"
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Willowton
Prole
Posts: 5
Joined: Mon Dec 17, 2012 4:05 pm

Re: New to Lua & Love- Simple Code Question

Post by Willowton »

Thank you so much! I thought it might be something simple like that.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests