for(var/turf/T in world)
stuff_to_do(T)//All the complex stuff I want it to do
//Note:stuff_to_do() also has a loop to go though but I don't think that is relavent
My program loops though every turf on the map when the program loads. When I set the map size to 29X30 it works fine and does what I want it to do. When I make it any bigger the program does not load, nor does it lock up and it doesn't even say "Not responding", it just wont load the map or any of the verb panels or anything. [Edit: about a minute or two after I closed it my computer told me it crashed...]
So I ran the proc after the program was loaded. It crashed. So I did it again but with the proc background set to 1 and it worked, but then it stopped working on the 892nd turf.
Someone please help, why is the loop stopping after a certain amount?