Codebase list libmawk / upstream/latest src / example_apps / 50_runlimit / test.awk
upstream/latest

Tree @upstream/latest (Download .tar.gz)

test.awk @upstream/latestraw · history · blame

function fnc()
{
	print "script func ENTER"
	for(i in A)
		print "script func:", i, A[i]
	print "script func LEAVE"
}

BEGIN {
	while(1) {
		n++
		print "script begin: " n
		A[n] = n/3
		if ((n % 3) == 0)
			fnc()
	}
}