>>I've been picking a this code off and on for a few days. The line where the error occurs is commented. If I press ignore, it cycles once and stops in the same place. URLs are being opened okay.
>>So, I am missing something.
>
>Sergey told you how to fix the immediate problem, but I see another:
>
>>
>
>> FOR EACH loLink IN lox.DOCUMENT.Links
>> lcOutPut = [ ] + loLink.Href + [ ] + loLink.innerText
>> lox.NAVIGATE(lcOutput)
>>
>
>In the third line, you are leaving the document through whose links you are going. You may be better off with stuffing all links into an array or collection, then navigating through each. And if you do that recursively (by making the array or collection local, and calling this same method for each member), you'd have to limit yourself to some depth, or else you'd try to parse most of the internet in one go, or run out of memory before even scratching the surface.
Thank you Dragon - Yes, I found that right away and removed the offending bit of code. As usual, write once - debug until it works. :-)
I ain't skeert of nuttin eh?
Yikes! What was that?