Error 149: Set type out of range The base type of a set exceeded the limit of a set. A set may have only 256 elements. Its base type must be a subrange within 0..255, or an enumerated type with no more than 256 values. Base types of ShortInt, Integer, LongInt, or Word are not permitted.