An array subscript should be

Double

Int

An array

Float