Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Explicit declaration

DECLARE statement
Factoring attributes

A name is explicitly declared if it appears:

The scope of an explicit declaration of a name is the block containing the declaration. This includes all contained blocks, except those blocks (and any blocks contained within them) to which another explicit declaration of the same name is internal. In the following diagram, the lines indicate the scope of the declaration of the names.

B and B' indicate the two distinct uses of the name B; C and C' indicate the two uses of the name C.

For more information about scope, refer to Scope of declarations.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)