Range of variant selector's type & Number of variants

Irie Pascal limits the maximum range of the tag-type of a variant record's variant selector to 1024 (i.e. the maximum number of values specified by the tag-type is 1024). This also indirectly limits the number of variants in a variant record's variant-part to 1024. If you exceed this limit the compiler issues a warning message and the following checks are not performed on the variant record which exceeded the limit(s).