of     1   

CardsOfFate
#182872184Tuesday, February 02, 2016 4:41 AM GMT

I came across something that saids "for i,v in next, t do" What does in next mean?
LongKillKreations
#182872281Tuesday, February 02, 2016 4:43 AM GMT

it's a generic for loop: iterates through all objects in table 't' using 'next' as its iterator function
OreoEaterz
#182872320Tuesday, February 02, 2016 4:45 AM GMT

its pretty much like using pairs
Drac0n1s
#182872376Tuesday, February 02, 2016 4:46 AM GMT

Im not certain but basically it's like _,V
CardsOfFate
#182872499Tuesday, February 02, 2016 4:49 AM GMT

so should I use in pair Instead?
cntkillme
#182872622Tuesday, February 02, 2016 4:52 AM GMT

Use either, no real difference (pairs returns next so in the end, they both use next)
LongKillKreations
#182872697Tuesday, February 02, 2016 4:54 AM GMT

for _,obj in pairs(t) do is pretty much the same as for _,obj in next, t do
A320_Sniper
#182872819Tuesday, February 02, 2016 4:57 AM GMT

derrrrrr .3.
LongKillKreations
#182872884Tuesday, February 02, 2016 4:59 AM GMT

cnt is an idiot, in next is theoretically 1 / 160000 more effecient

    of     1