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

9
LINES

< > BotCompany Repo | #1022165 // dm_deleteAllModulesWithSnippetID

JavaX fragment (include)

static LS dm_deleteAllModulesWithSnippetID(S snippetID) {
  new LS deletedModules;
  for (O m : dm_modulesWithSnippetID(snippetID)) pcall {
    S id = dm_moduleID(m);
    dm_deleteModule(id);
    deletedModules.add(id);
  }
  ret deletedModules;
}

Author comment

Began life as a copy of #1019791

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022165
Snippet name: dm_deleteAllModulesWithSnippetID
Eternal ID of this version: #1022165/3
Text MD5: 2eaadd0d411517c92b7a4b717bf5243d
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-10 10:52:07
Source code size: 255 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 290
Version history: 2 change(s)
Referenced in: [show references]