qse/ase/test/awk/t13.awk

24 lines
202 B
Awk

global a;
BEGIN
{
local b;
//a = 20;
//a[1] = 20;
//a[2] = 30;
/*
b["xxx"] = 20;
b["yyy"] = 30;
b[1] = 30;
b["2"] = 30;
delete a;
delete b["1"];
*/
c[1] = 20;
c[1] = "aaa";
c = 30;
}