It's clear. And what about an "IncorRect Array Type Passed to Sub" error ?
Incorrect Array Type Passed to Sub comes from... wait for it... passing an incorrect array type to a SUB!! 😂😂
An example:
SUB Foo (an_array() AS INTEGER)
...stuff
ENS SUB
A fairly standard SUB, doing standard stuff with an array. All is good here, until:
DIM data_array(100) AS LONG
Foo data_array()
Now our SUB expects an array of INTEGER type. We just tried to pass it an array of LONG type. What’s the result?
You guessed it!
Incorrect Array Type Passed to Sub Error
Pass them the types they except and you won’t see that message any more.