2007-05-02 01:07:00 +00:00
|
|
|
#global x, j;
|
|
|
|
|
2007-11-14 17:37:00 +00:00
|
|
|
function func1 (x)
|
2007-05-02 01:07:00 +00:00
|
|
|
{
|
|
|
|
c = x["abc"];
|
|
|
|
x["abc"] = 123;
|
|
|
|
}
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
idx="abc";
|
|
|
|
x[idx] = 12345;
|
|
|
|
i = x[idx];
|
|
|
|
x["1"] = 1;
|
|
|
|
x["2"] = 2;
|
|
|
|
|
|
|
|
func1 (x);
|
|
|
|
k = x[idx];
|
|
|
|
return j;
|
|
|
|
|
|
|
|
/*
|
|
|
|
x["abc"] = 12345;
|
|
|
|
i = x["abc"];
|
|
|
|
return j;
|
|
|
|
*/
|
|
|
|
}
|