Summary

Congratulations! You are now able to work with the fundamental data structure of Red. You have learned the concept of a series in Red, with its head, tail, and next words that are used to move the index position in the series. We have seen how to select an item with pick or the / syntax, and how to search for an item with find and select, as well as how to change, add, delete, and move items. Finally, we saw how to copy the value of a series, and how to use the series actions on strings.

The number of words to use for working with series may seem a bit overwhelming at first, but they are frequently used in code, so they will become familiar soon. It will also become clear that combining these words can result in some powerful code. ...

Get Learn Red - Fundamentals of Red now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.