Ada Programming/Keywords/range

< Ada Programming‎ | Keywords

DescriptionEdit

The keyword range is used in the following type definitions.

  • Defining the first and last element in an integer range.
  • Defining the first and last element in a Modulus subtype.
  • Defining the first and last element in an enumeration subtype.
  • Defining the minimum range of a floating point type.
  • Defining the minimum range of a fixed point type.
  • Defining the range of an array type.

It is also used within the following statements:

See alsoEdit