qse/ase/cmd/awk/lang-008.awk

17 lines
136 B
Awk
Raw Normal View History

2007-12-24 02:11:27 +00:00
global x;
BEGIN {
x = 1;
{
local x;
x = 2;
{
local x;
x = 3;
print x;
}
print x;
}
print x;
}