qse/ase/test/awk/t3.awk

27 lines
239 B
Awk
Raw Normal View History

2006-04-25 15:20:10 +00:00
/*global x, j;*/
2006-04-19 02:52:53 +00:00
func func1 (x)
{
c = x["abc"];
x["abc"] = 123;
}
BEGIN
{
idx="abc";
x[idx] = 12345;
i = x[idx];
2006-04-20 05:44:29 +00:00
x["1"] = 1;
x["2"] = 2;
2006-04-19 02:52:53 +00:00
func1 (x);
k = x[idx];
return j;
/*
x["abc"] = 12345;
i = x["abc"];
return j;
*/
}