Ada Programming/Keywords/range

From Wikibooks, the open-content textbooks collection

< Ada Programming | Keywords(Redirected from Programming:Ada:Keywords:range)
Jump to: navigation, search

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:

[edit] See also

[edit] Wikibook

[edit] Ada Reference Manual

[edit] Ada Quality and Style Guide



Ada Keywords
abort else new return
abs elsif not reverse
abstract end null
accept entry select
access exception of separate
aliased exit or subtype
all others synchronized
and for out
array function overriding tagged
at task
generic package terminate
begin goto pragma then
body private type
if procedure
case in protected until
constant interface use
is raise
declare range when
delay limited record while
delta loop rem with
digits renames
do mod requeue xor
Personal tools
Create a book
  • Add wiki page
  • Collections help