Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1016883 // printFunctionForTenSeconds

JavaX fragment (include)

1  
svoid printFunctionForTenSeconds(O f) {
2  
  for i to 10: {
3  
    long time = sysNow();
4  
    print(pcallF(f));
5  
    sleepUntilSys(time+1000);
6  
  }
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016883
Snippet name: printFunctionForTenSeconds
Eternal ID of this version: #1016883/2
Text MD5: f9bb183c50516cae0155b6e6372a405a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 16:13:37
Source code size: 146 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 412
Version history: 1 change(s)
Referenced in: [show references]