I'm working on a large patch where I want to make colls out of a large cellblock using a coll which describes the rows and columns to put in the coll.
It uses a counter to go to the next columnnumber, and also a counter to go to the next row number.
So basically it should do this:
Get first row -> Get first column -> Get second column -> etc. -> Put in coll at index 1 -> Go to next row.
Get second row -> Get first column -> Get second column -> etc. -> Put in coll at index 2 -> Go to next row.
But, if I don't put a delay somewhere in the 'loop', it get's a stack overflow after going performing four rows.
Does this mean without the delay it's an actual loop MAX can't handle?
With a delay of 0.00001ms it works fine, but is pretty slow when I want values from say 1000 rows. Using deferlow instead makes it even slower...
Can anybody please give advice?