Jump to content
UBot Underground

loop through list with offset


Recommended Posts

I have a list where I've set the list postion to 5. I'd like to loop through from position 5 to the end. I've tried to use $list total - 5 in the loop argument but I get a 'Conversion from string to integer' error.

What is the correct way to do this bearing in mind that the list could be an arbitary size?

Link to post
Share on other sites

This will work:

 

http://img31.imageshack.us/img31/8162/timestoloop.jpg

 

And you do that by doing the following:

 

Set -> Insert Variable -> #times to loop

------ Math Constants -> $eval -> insert variable -> list total {1}-5

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...