On 2 Apr 2006, at 10:46, Frank Heckenbach wrote:
- Predefine 2 pseudo-schema types to define signed and unsigned
integral types:
IntegerWithBits (n) CardinalWIthBits (n)
where n is a compile-time constant expression.
BTW, native speakers, with formulation is better, "integer with/of N bits"?
By my intuition (native speakers vary), clearest would be "Integer of N Bits". Given that the parameter cannot appear in the middle of the predefined identifier, perhaps "IntegerOfBitsize(n)". Others, including (my second choice) "IntegerOfBits(n)" are to me less clear--it suggests that other integers are not made up of bits.
Ålso, "of" is more consistent with Pascal use in declarations, "with" has different Pascal semantics.
IMHO
Willett Kempton