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

10
LINES

< > BotCompany Repo | #1020589 // dm_makeOrShowModuleBasedOnQuestion

JavaX fragment (include)

1  
sS dm_makeOrShowModuleBasedOnQuestion(S s) {
2  
  for (S listName : mechListNamesStartingWith("Questions leading to module "))
3  
    if (matchAny(mL(listName), s)) {
4  
      S moduleID = firstSnippetID(listName);
5  
      print("Activating module " + moduleID);
6  
      dm_addDynamicModuleDialog2(moduleID);
7  
      ret moduleID;
8  
    }
9  
  null;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020589
Snippet name: dm_makeOrShowModuleBasedOnQuestion
Eternal ID of this version: #1020589/1
Text MD5: 6bb03526ed87a9b482081a163ffd7a89
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-27 20:18:17
Source code size: 340 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 339
Referenced in: [show references]