contact  |  about  |  sitemap


contact  |  about  |  sitemap

stop a loop web pages
Last Post 06 Mar 2010 01:56 PM by JakobW. 1 Replies.
Sort:
PrevPrev NextNext
Author Messages
John

--
05 Mar 2010 01:51 AM
i am running a get web page, then a loop web pages for the "next" link tag.. there are 54 potential pages it could loop thtough but I only want to do 10 next link loops

what should i add to my script to run the "loop web pages" 10x and not until there is no more "next links"

thanks
JakobW

--
06 Mar 2010 01:56 PM
Add a counting variable N and for each pass of the loop you add 1 to N. Add an IF condition that tests if N is greaterthan 10, once the condition evaluates to TRUE you catch it with an EXIT LOOP action.

Regards,

Jakob


Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.