KOCHERALKOTA harikrishna wrote:
How can we set size of enumerated data type in GPC?.
That's not possible currently. Your best bet probably is using an integer type, e.g. `Cardinal (n)' (where n is the desired size in bits), and declaring the enum values as constants (starting from 0).
Because in GPC, even if we give 2 values (0..1) also, it assigns 4 bytes by default.
Yes (for alignment and efficiency reasons), and 1 bit in a packed record/array.
Frank