5. Embedded QUEL for Ada : Ada Variables and Data Types : Compilation Units and the Scope of Variables : The Declaration Block
 
Share this page                  
The Declaration Block
The syntax for an EQUEL/Ada declaration block is:
declare
              
declarations
begin
              
statements
end [block_name];
Syntax Notes:
1. Block_name is not processed and is not compared for equivalence against any block labels (if used).
2. Variables declared in a declaration block are visible to the declaration block and to any nested blocks.