qse/ase/test/awk/t6.awk

22 lines
204 B
Awk
Raw Normal View History

2006-08-04 06:39:05 +00:00
BEGIN {
2006-07-30 15:53:42 +00:00
j = -20;
2006-05-09 15:21:26 +00:00
for (i = -10; i < 10; i++)
{
2006-07-30 15:53:42 +00:00
if (i == 5) exit;
2007-03-12 11:37:39 +00:00
#if (i == 5) break;
2006-05-09 15:21:26 +00:00
}
while (j < 10)
{
if (j == 5) break;
j++;
}
}
2006-08-04 06:39:05 +00:00
END {
2006-07-30 15:53:42 +00:00
print "i = ", i;
print "j = ", j;
}