Sorry, wasn't exactly clear I guess
I'm not having a syntax error or anything like that, so I figured that, since this is a generic problem and not specifically related to my program, I wouldn't provide a code that would distract you, looking for syntax errors
Computercraft (or more likely, lua) has a built in thing where it stops infinite loops, by giving an error when a loop iterates too many times.
However, for what I'm doing, I need it to run an amount of times greater than the built in limit.
my code is this
http://pastebin.com/FizscyHmwhich then creates an 814 kilobyte long file (17,576 blocks). I can't make it record an area any larger than that one.
I believe that I may have misinterpreted the error. Rather than the problem being that the loop runs too far, I probably just gave the write() function too much.
However, the question still stands: Is it possible to get past the recursion limit built into Lua?