REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Returns the series at its next position.
Arguments:
series [series! gob! port!]
See also:
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 "ABCDE"
BCDE
print next next "ABCDE"
CDE
print next [1 2 3 4]
2 3 4
str: "REBOL"
loop length? str [
print str
str: next str
]
L
blk: [red green blue]
loop length? blk [
probe blk
blk: next blk
]
[blue]
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |