qse/ase/test/awk/t47.awk

20 lines
243 B
Awk
Raw Normal View History

2006-09-22 14:05:30 +00:00
BEGIN {
a[1] = 20;
a[2] = 40;
a[3,5,6] = 40;
a["abc"] = 20;
for (i in a) print "a[" i "]=" a[i];
#SUBSEP=",,,";
2006-09-27 14:14:47 +00:00
SUBSEP=4.5;
#SUBSEP=555;
2006-09-22 14:05:30 +00:00
print "------------------------";
a[9,x,3] = 40;
for (i in a) print "a[" i "]=" a[i];
}