.NAME Variable declaration close to the use

.DESCRIPTION

Definition:
-----------
Variables must be declared as close as possible to their uses. Each local variable shall be declared
in the block where it is used or in the smallest block containing the blocks where it is used.
If a variable is used in a loop (do, while, for) or a multiple alternatives statement (switch)
it can be declared in the enclosing block.
Local variables that are declared but not used is a violation of the rule.

Justification:
--------------
Improves code legibility and reliability.


.SEVERITY Advisory

.COMMAND builtin

