Ada Programming/Keywords/range
From Wikibooks, the open-content textbooks collection
< Ada Programming | Keywords(Redirected from Programming:Ada:Keywords:range)
Contents |
[edit] Description
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:
- Specify the range of a for loop.
[edit] See also
[edit] Wikibook
- Ada Programming
- Ada Programming/Keywords
- Ada Programming/Types/range
- Ada Programming/Types/Enumeration
- Ada Programming/Types/digits
- Ada Programming/Types/delta
- Ada Programming/Types/array
- Ada Programming/Control
[edit] Ada Reference Manual
- 3.5 Scalar Types (Annotated)
- 3.6 Array Types (Annotated)
- 3.6.1 Index Constraints and Discrete Ranges (Annotated)
- 4.4 Expressions (Annotated)
[edit] Ada Quality and Style Guide

