Error 12. Subscript operator [] requires array or number type.

Occurs when subscript operator [] is applied to some other unsupported type (such as COM object dispatch)):

a=CreateObject("Broker.Application");
b = a[
0];