for(var/i in mylist[1 to min(mylist.len,4)])
world<<i
Problem description:
I was wondering, say I have a list like so :
list/mylist=list("a","b","c","zed")
How would I loop through certain values within the list?
Like say loop through 1-3, or 2-4 for instance?
I've tried setting up a for loop in various ways but it doesn't seem to be working out for me.
The above is just an example expressing what I want, not even sure if it compiles correctly in that example. But I did try something very much like that with no results.
This should give you however flexibility you'd like.
To iterate through a list (As an example):