Ada Programming/Delimiters/box
From Wikibooks, the open-content textbooks collection
- The title given to this book is incorrect due to technical limitations. The correct title is Ada Programming/Delimiters/<>.
Contents |
The box <> is a placeholder for something undefined.
[edit] In array declaration
Declare an array with bounds known only at runtime.
type Some_Array is (Integer range <>) of Some_Type;
[edit] Generic declaration of a discrete type
generic Discrete_Type is (<>);
It means that T must be a discrete type: either an enumeration, a range, or a modular type.