Page 1 of 2
Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 1:22 pm
by zac352
I spent 3 days debugging my script to find out Lua doesn't support order of operations.
Then I got it to work, and it made up for the fail. But I can't upload it.
The extension bmp is not allowed.
Re: Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 2:01 pm
by vrld
zac352 wrote:Lua doesn't support order of operations.
I am not sure I can follow you on that one. Do you mean 6 + 7 * 8 evaluates to (6 + 7) * 8 =104 rather than the correct 6 + (7 * 8) = 62? If so, then you are clearly mistaken...
The extension bmp is not allowed.
Why would you want to upload a bmp anyway? Use jpg or png.
Re: Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 2:11 pm
by kikito
bmp =
Kill it! Now!
Re: Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 2:30 pm
by bartbes
And why do you keep spawning "Lua is <something negative>"?
Re: Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 9:08 pm
by Taehl
What fail. Lua does fully support OoO.
And .bmp is terrible. Use .png instead, since it's better in every single way.
Re: Lua is annoying sometimes.
Posted: Wed Sep 29, 2010 11:53 pm
by Jasoco
BMP is soooo 1998. You upload BMP to the internet, you need to have your internetting license revoked. Use PNG, JPEG or in some cases GIF if it's animated and small. But not the horrible uncompressed and bloated BMP. BMP is a relic from the early days of Windows that should have died along with PCX.
Re: Lua is annoying sometimes.
Posted: Thu Sep 30, 2010 11:36 am
by zac352
vrld wrote:zac352 wrote:Lua doesn't support order of operations.
I am not sure I can follow you on that one. Do you mean 6 + 7 * 8 evaluates to (6 + 7) * 8 =104 rather than the correct 6 + (7 * 8) = 62? If so, then you are clearly mistaken...
The extension bmp is not allowed.
Why would you want to upload a bmp anyway? Use jpg or png.
I tried both love and the Lua 5.1 console. Both came out with division coming before multiplication. >_>
Re: Lua is annoying sometimes.
Posted: Thu Sep 30, 2010 11:36 am
by zac352
Taehl wrote:What fail. Lua does fully support OoO.
And .bmp is terrible. Use .png instead, since it's better in every single way.
I like png, but love forces me to save in either bmp or tga.
Re: Lua is annoying sometimes.
Posted: Thu Sep 30, 2010 11:39 am
by zac352
bartbes wrote:And why do you keep spawning "Lua is <something negative>"?
Because I haven't used it in a while, and I'm noticing how simpler (and thus lacking in features) Lua is compared to C++.
Although I do admit coroutine.wrap and coroutine.yield are really, really useful.
Re: Lua is annoying sometimes.
Posted: Thu Sep 30, 2010 1:39 pm
by kikito
Taehl wrote:love forces me to save in either bmp or tga.
MMm.. I'm assuming you are refering to
saving screenshots.
Robin, bartbes: Is that still correct? Only bmp and tga in screenshots?