- 3.2.29 -
Compiler Directives
![](images/1.gif)
Switch and Parameter Directives$Z: Minimum Enumeration Size Switch
(Targets: MS-DOS, OS/2, Win32)
$Z Compiler directive
controls the minimum storage size of enumerated types.
Syntax:
{$Z1} or {$Z2} or {$Z3}
Default:
{$Z1}
Remarks:
An enumerated type is stored as an unsigned byte since the maximum limit for
enumeration is 256 values. If the {$Z2} switch has been specified, it is stored
as an unsigned word. If the {$Z4} switch has been specified, it is stored an
unsigned double-word. This feature is very useful for compatibility with C and
C++ DLL's, which usually represent enumerated types as words or double-words.
![Previous: $XW: Extended Warnings](images/prev.gif) |
![To the Table of Content](images/index.gif) |
![Next: Predefined Symbols](images/next.gif) |
$XW: Extended Warnings |
Table of Content |
Predefined Symbols |
- 3.2.29 -