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

5
LINES

< > BotCompany Repo | #1008060 // runAndClear - run a list of runnables (with pcall) and clear the list

JavaX fragment (include)

static void runAndClear(L l) {
  L l2 = cloneList(l);
  l.clear();
  for (O r : l2) pcallF(r);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008060
Snippet name: runAndClear - run a list of runnables (with pcall) and clear the list
Eternal ID of this version: #1008060/2
Text MD5: 45de26c61f460395d140635ef1363deb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-23 13:11:11
Source code size: 100 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 534
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)