Ada Programming/Keywords/declare
From Wikibooks, the open-content textbooks collection
Contents |
This keyword is used to mark begining of the declarative part of a block.
Block_Name :
declare
A_Variable : The_Type;
begin
Use A_Variable
end Block_Name;
The Block_Name is optional.
[edit] See also
[edit] Wikibook
[edit] Ada 95 Reference Manual
- 2.9 Reserved Words (Annotated)
- 5.6 Block Statements (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
[edit] Ada 2005 Reference Manual
- 2.9 Reserved Words (Annotated)
- 5.6 Block Statements (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
[edit] Ada Quality and Style Guide

