Compatible with all Propeller board types (except Scribbler Robot)
The array initialize block creates an array variable and define the number of elements in that array. If you forget to use array initialize, the other array blocks will show you a triangle warning symbol as a reminder:
Now, your array variable will be accessible from any other array block that has the same name typed into it, such as the array get element block below.
The array fill block allows you to set multiple elements in your array using a comma-separated list of numbers. All numbers must be integers. Any decimal values will be truncated, and if there are more values typed in than there are elements in the array, it will only fill the available elements. The elements are always filled in order starting with element 0 (zero).
The array get element block provides the value of the specified element. The element to retrieve can be specified with either a number value block or any other block that provides a value, such as a get variable block.
The array set element block sets the element specified by the first inserted block to the value specified by the second inserted block.
The array clear block sets all of the elements in your array to 0 (zero).