t.version

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.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: t.version

Post by miko »

hryx wrote:I have opened this up as ticket #299 on the issue tracker.

Miko, I referred to your parsing statement. But I took off the final "%.", which is superfluous.
Except in cases like 0.8.0-BETA6 ;) OK, maybe this is not relevant. Anyways, thanks for creating the ticket.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
User avatar
hryx
Party member
Posts: 110
Joined: Mon Mar 29, 2010 2:28 am
Location: SF<CA<USA

Re: t.version

Post by hryx »

Sorry for digging up this somewhat old thread. I'm not very regularly active on forums.

Anyway, just to update about the ticket: Bart marked it invalid, but I don't quite understand why. It seems like either I'm misunderstanding something or he is. Or maybe my explanation was unclear.

Can anyone chime in on this topic, either in this thread or on the Bitbucket ticket? I don't want to annoy the devs by just opening it up again without a convincing reason...
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: t.version

Post by bartbes »

t.version was never used, and as such no code existed treating it either way. Saying it was a number or a string was simply a thing with documentation, not with the code.
User avatar
hryx
Party member
Posts: 110
Joined: Mon Mar 29, 2010 2:28 am
Location: SF<CA<USA

Re: t.version

Post by hryx »

Right, but will it be used in future versions of Love? What I was proposing is not a matter of how it should be documented, but how it should be treated by Love. The fact that it isn't used at all yet makes this the perfect time to figure out how it could/should be handled.

So, I was making a suggestion for how Love should handle it. If there are no plans for it, or it's just decorative, then I don't believe it belongs in love.conf.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: t.version

Post by Robin »

Actually, in the 0.8.0 boot.lua shows that it is being used, in the way proposed in the issue report.

(By the way, I think there should be a break after compat = true.)
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: t.version

Post by bartbes »

But that was after. At the time it was a non-issue. (See what I did there?)
User avatar
hryx
Party member
Posts: 110
Joined: Mon Mar 29, 2010 2:28 am
Location: SF<CA<USA

Re: t.version

Post by hryx »

bartbes wrote:But that was after. At the time it was a non-issue. (See what I did there?)
Very clever. :|

Thanks for pointing out the boot.lua, Robin.

I updated the wiki page.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 24 guests