CDISP0037E

A type mismatch exists in the following subscript index: list or map type [subscript type].

The expression that is used to subscript a list or a map must be an integral type expression.
Ensure that an integral type expression is used.