Chapter 15. arrays
In this chapter, you’ll learn about arrays, which let you store lists of Numeric or Logic values. Up until now, all the values we’ve used in our programs (as parameters and in data wires and variables) have been single, individual pieces of data. Using an array lets you store a list of values in a single variable.
After a brief introduction to arrays, we’ll create a simple test program to demonstrate how EV3 arrays work. Then we’ll create three fairly complex programs that use arrays: one that lets you build simple programs for the TriBot using Brick buttons, one that counts how many times the robot detects a list of colors, and one that implements a memory game.
overview and terminology
An EV3 array is an ordered list of values, ...