INVTYPSIZ

413

Invalid data type/size specification {token}

A field or group’s type or size specification is incorrect. For example, a group may not have a p (packed) data type; the size value cannot be 0 or less; and the precision cannot be less than 0, greater than the specified field size, or greater than 28. In addition, you cannot specify a fixed-size array of any class type (derived from System.Object).

This error can also occur in a FOREACH loop in the following situations:

In other words, the AS type in a FOREACH statement must be nonzero so the proper amount of memory can be reserved for the loop variable. (Warning level 1)