Next - Function Summary
Returns the series at its next position.
series - The series argument. (must be: series port)
If the series is at its tail, it will remain at its
tail. NEXT will not go past the tail, nor will it wrap
to the head.
print next next "ABCDE"
print next [1 2 3 4]
2 3 4
loop length? str [
str: next str
blk: [red green blue]
loop length? blk [
blk: next blk
[red green blue]
back - Returns the series at its previous position.
first - Returns the first value of a series.
head - Returns the series at its head.
head? - Returns TRUE if a series is at its head.
tail - Returns the series at the position after the last value.
tail? - Returns TRUE if a series is at its tail.