be2003 wrote:the 0.19 lowser wont work and "for i=1,string.len(somethin) do" doesnt work and its annoying
You are right, 0.19 lowser doesn't work, but I've fixed it. Lowser in Lua Player 0.20 works. The only changes needed were the pairs/ipairs changes, like described in the release notes.
And I can't reproduce your problem with "for i=1,string.len(somethin) do". The following code works with Lua Player 0.19 and Lua Player 0.20:
nvm, it was "for index,value in table do". it took a while to change them to ipairs and pairs, i really needed the jpeg support! so why did you want to make it lua 5.1, wasnt that a hassle?
be2003 wrote:nvm, it was "for index,value in table do". it took a while to change them to ipairs and pairs, i really needed the jpeg support! so why did you want to make it lua 5.1, wasnt that a hassle?
So how long do you need to replace "in table" with "in ipairs(table)", when searching all for loops with a good editor? :-)
Lua 5.1 provides some advantages: incremental GC, which may be useful for action games to prevent long GC pauses, new string and other functions and better module support for Mac OS X, which may be useful later when porting it to Mac OS X.
this may seem crazy, but listen to this. i dont have a computer in this state(ca). i use tipster's unzip, links2, psp-pda, and file assistant all on my psp to do everything. i make all my lua apps on my psp.
I actually think 5.1 has increased luaplayers speed substancially, I also have noticed that parsing files (reading) takes absolutly no time to do. Its fantastic! However saving it dead weight.