enhanced awk error codes for more consistency

This commit is contained in:
2013-04-19 15:06:52 +00:00
parent 3d813a1bf1
commit e01ac6bbac
15 changed files with 369 additions and 240 deletions

View File

@ -0,0 +1,8 @@
# When a is assigned 20, a points to a scalar value.
# The second line turns it to a map if FLEXMAP is on.
# It is prohibited and results in an error if FLEXMAP is off.
BEGIN {
a=20;
a[10]=30;
for (i in a) print i, a[i];
}