411 REFERENCE · Wikibooks
Ada Programming/Attributes/'Range Length
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Description
typ'Range_Length for any discrete 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 Length applied to the array itself.