svoid printFunctionForTenSeconds(O f) { for i to 10: { long time = sysNow(); print(pcallF(f)); if (i < 10) sleepUntilSys(time+1000); } }