1 2 3 4 5 6 7
State = { times_called = 0 } function test_func() State.times_called = State.times_called + 1; end