f() = do a = [] for (i from 0 to 10000) a.append(i) term.log("start") f() term.log("end")