Files

14 lines
308 B
OpenEdge ABL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
% Reference Manual §8.0–§8.2 — Scope rules and local blocks
SECTION ref_scope;
TYPE integer {-32768 TO 32767};
DCL outer PROC() IS
BLOCK
DCL outer_var integer INIT 1;
BLOCK
DCL inner_var integer INIT 2;
inner_var + outer_var -> inner_var;
ENDBLOCK
ENDBLOCK;