Function Expected Error.... but only after a few calls!
Hi guys, I have a function as pasted below. I have an array of objects that I pass in turn in calls to this function in a loop. The first few calls are absolutely fine, but then I get an error ...