content_image/866321.jpg
6.1.1. Enumerated types. An enumerated type defines a set of entirely new values and introduces a constant identifier to denote each value. 

EnumeratedType = .. ( .. IdentifierLlst .. ) , .. IdentijierList = Identifier { .. , .. Idelllifler I . 

The first identifier denotes the smallest value, which has the ordinal number zero. Every other identifier in the list denotes the successor of the value denoted by the preceding identifier. That is, the constant identifiers are listed in increasing order. 

Examples of enumerated types: 

(Red, Orange, Yellow, <een, Blue) (Club, Diamond, Heart, ,;pade) (Monday, Tuesday, Wedn ;day, Thursday, Friday, Saturday, Sunday) 

6.1.2. Predefined simple type!\ The following predefined type identifiers are standard in Pascal. 

<img src='content_image/866321.jpg'>

