Syntax
Set ball extra variables. The extra variable a can be of any type and is associated with the index i as if stored in an array.