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

21
LINES

< > BotCompany Repo | #1019074 // Latest Modules [newly created or changed]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (6840L/36K).

1  
!7
2  
3  
cmodule LatestModules > DynObjectTable<Snippet> {
4  
  start {
5  
    itemToMap = func(Snippet s) -> Map {
6  
      litorderedmap("ID" := s.id, "Name" := s.title)
7  
    };
8  
    
9  
    dm_onSnippetTranspiled(voidfunc(S snippetID) {
10  
      if (getSnippetType(snippetID) == snippetType_dynModule())
11  
        setData(
12  
          takeFirst(3, listPlus_inFront(withoutObjectsHaving(data, id := snippetID), Snippet(snippetID, getSnippetTitle(snippetID)))));
13  
    });
14  
  }
15  
  
16  
  afterVisualize {
17  
    tableDefaultAction(table(), "Make Module", rThread {
18  
      dm_makeOrShowModuleFromSnippetID(selected().id)
19  
    });
20  
  }
21  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019074
Snippet name: Latest Modules [newly created or changed]
Eternal ID of this version: #1019074/13
Text MD5: aaef38745a3b0f42eba08f0e6044a52a
Transpilation MD5: da95d7aa9aabadc33d0b0bf707e0caee
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-23 16:53:08
Source code size: 616 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 343 / 64572
Version history: 12 change(s)
Referenced in: [show references]