qse/ase/test/awk/t13.awk

23 lines
202 B
Awk
Raw Normal View History

2006-06-30 17:07:52 +00:00
global a;
2006-08-16 11:35:54 +00:00
BEGIN {
2006-06-30 17:07:52 +00:00
local b;
2006-06-30 16:46:34 +00:00
//a = 20;
2006-06-30 17:07:52 +00:00
//a[1] = 20;
//a[2] = 30;
2006-07-01 16:07:06 +00:00
/*
2006-06-30 17:07:52 +00:00
b["xxx"] = 20;
b["yyy"] = 30;
2006-07-01 07:57:10 +00:00
b[1] = 30;
b["2"] = 30;
2006-06-30 17:07:52 +00:00
2006-06-30 11:31:51 +00:00
delete a;
2006-07-01 07:57:10 +00:00
delete b["1"];
2006-07-01 16:07:06 +00:00
*/
c[1] = 20;
c[1] = "aaa";
c = 30;
2006-06-30 11:31:51 +00:00
}