Contents
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:
- Specify the range of a for loop.
See alsoEdit
WikibookEdit
- 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
Ada Reference ManualEdit
- 3.5 Scalar Types (Annotated)
- 3.6 Array Types (Annotated)
- 3.6.1 Index Constraints and Discrete Ranges (Annotated)
- 4.4 Expressions (Annotated)
Ada Quality and Style GuideEdit
Ada Keywords | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|