Kingdaro, on 04 May 2013 - 01:01 PM, said:
theoriginalbit, on 04 May 2013 - 01:08 PM, said:
It's table.maxn, but you're correct in the fact that they are pretty much the same functions, one is just easier to use.
Posted 04 May 2013 - 03:37 PM
Kingdaro, on 04 May 2013 - 01:01 PM, said:
theoriginalbit, on 04 May 2013 - 01:08 PM, said:
Posted 05 May 2013 - 06:53 AM
theoriginalbit, on 04 May 2013 - 10:33 PM, said:
Pharap, on 04 May 2013 - 03:37 PM, said:
Posted 05 May 2013 - 06:58 AM
Pharap, on 05 May 2013 - 06:53 AM, said:
os.getComputerLabel()and
os.computerLabel()and the same with id.
Posted 05 May 2013 - 09:27 AM
theoriginalbit, on 05 May 2013 - 06:58 AM, said:
Pharap, on 05 May 2013 - 06:53 AM, said:
os.getComputerLabel()and
os.computerLabel()and the same with id.
Posted 20 May 2013 - 10:10 AM
Posted 26 May 2013 - 12:30 PM
Posted 26 May 2013 - 04:29 PM
Posted 26 May 2013 - 04:42 PM
Posted 10 June 2013 - 10:08 AM
Quote
Quote
Quote
text = "" for i = 1,10 do text = text .. ' ' .. i endyou should instead be doing
t = {} for i = 1,10 do table.insert(t,i) end text = table.concat(t,' ') -- letting concat do the separatorif you don't want to kill the server.
Posted 10 June 2013 - 05:13 PM
MaHuJa, on 10 June 2013 - 10:08 AM, said:
text = "" for i = 1,10 do text = text .. ' ' .. i endyou should instead be doing
MaHuJa, on 10 June 2013 - 10:08 AM, said:
local t = {} for i = 1, 10 do t[#t + 1] = i endis far more efficient and has less overhead than
local t = {} for i = 1, 10 do table.insert(t, i) end
Posted 10 June 2013 - 07:19 PM
Posted 11 June 2013 - 01:09 AM
MaHuJa, on 10 June 2013 - 10:08 AM, said:
Quote
MaHuJa, on 10 June 2013 - 10:08 AM, said:
Quote
MaHuJa, on 10 June 2013 - 10:08 AM, said:
Quote
MaHuJa, on 10 June 2013 - 10:08 AM, said:
text = "" for i = 1,10 do text = text .. ' ' .. i endyou should instead be doing
t = {} for i = 1,10 do table.insert(t,i) end text = table.concat(t,' ') -- letting concat do the separatorif you don't want to kill the server.
Posted 17 June 2013 - 07:13 PM
Quote
Quote
Posted 21 June 2013 - 12:58 PM
Posted 23 June 2013 - 02:07 PM
Posted 25 June 2013 - 12:22 PM
Posted 27 June 2013 - 12:10 AM
0 members, 1 guests, 0 anonymous users