November 16, 2001 enum by the size short | ||||
---|---|---|---|---|
| ||||
How to make a type enum by the size of 2 bytes (short)? |
November 16, 2001 Re: enum by the size short | ||||
---|---|---|---|---|
| ||||
Posted in reply to ZaitcevE.V. | It does that only in 16 bits mode.
If you need to store them somewhere, assign the enum to a 'short'.or 'unsigned short' Make sure the values are betwen 0 and 65535 though.
Jan
"ZaitcevE.V." wrote:
> How to make a type enum by the size of 2 bytes (short)?
|
Copyright © 1999-2021 by the D Language Foundation