Ada Programming/Keywords/declare

From Wikibooks, the open-content textbooks collection

< Ada Programming | Keywords
Jump to: navigation, search

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

[edit] Ada 2005 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