Originale-mail to me for new edition

 

Enumerated types

 

An enumerated type is stored as an unsigned byte if the enumeration has no more than 256 values and the type was declared in the {$Z1} state (the default). If an enumerated type has more than 256 values, or if the type was declared in the {$Z2} state, it is stored as an unsigned word. If an enumerated type is declared in the {$Z4} state, it is stored as an unsigned double-word.

 

Topic groups

 

See also

Memory management: Overview

Variables

 

 

译文

 

枚举类型

 

如果一个枚举类型不超过256个值并且在编译指示 {$Z1} 状态(缺省的)下被声明,那么它被存储为一个无符号的单字节(8位,即1字节)。如果一个枚举类型超过256个值,或在编译指示 {$Z2} 状态下声明,那么它被存储为一个无符号的单字(16位,即2字节)。如果一个枚举类型在编译指示 {$Z4} 状态下声明,那么它被存储位一个无符号的双字(32位,即4字节)。

 

主题组

 

相关主题

内存管理:概述

变量