Ada Programming/Keywords/declare


      Ada Lovelace 1838.jpg


      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.

      Last modified on 22 February 2011, at 02:42