summaryrefslogtreecommitdiff
path: root/test/aadelete1.awk
blob: 2484a057b1edbfc6d95712a4d81b9c32f5295c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BEGIN {
	a[1][1] = 11
	a[1][2] = 12
	a[2] = 2
	delete a[1][1]
	f(a, a[1])
	print a[1][1]
	print length(a), length(a[1])
	delete a
	print length(a), length(a[1]), length(a)
	a[1][1] = 11
}

function f(c, b) {
	delete b
	b[1] = 1
	print c[1][1], b[1]
	delete c[2]
}