Ada Programming/Keywords/declare
< Ada Programming < KeywordsComputing » Computer Science » Computer Programming » Ada Programming

This keyword is used to mark beginning 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.
See also
Wikibook
Ada 95 Reference Manual
- 2.9 Reserved Words (Annotated)
- 5.6 Block Statements (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
Ada 2005 Reference Manual
- 2.9 Reserved Words (Annotated)
- 5.6 Block Statements (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
Ada Quality and Style Guide
Ada Keywords | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.