qse/ase/test/awk/t4.awk

22 lines
237 B
Awk
Raw Normal View History

function main (arg1, arg2, arg3)
{
local i, k, c;
for (i = 0; i < 10; i++)
{
abc[i*2] = i;
}
k = 20;
for (i = 0; i < 100; i++)
{
if (i in abc) j[i] = i;
}
print arg1;
print arg2;
print arg3;
print "end of program";
}