fun test() { var inside = "inside"; print(inside); } var outside = "outside"; print(outside); test(); print(outside); test(); print(outside); for (var i = 0; i < 500; i++) { print(i); test(); }