function(f) foreach(i 1) #endforeach() # missing endfunction() f()