Next: , Previous: Pool_Address, Up: Implementation Defined Attributes


Range_Length

type'Range_Length for any discrete type type yields the number of values represented by the subtype (zero for a null range). The result is static for static subtypes. Range_Length applied to the index subtype of a one dimensional array always gives the same result as Range applied to the array itself.