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

19
LINES

< > BotCompany Repo | #1015906 // lastRunTable_update

JavaX fragment (include)

static L<SS> lastRunTable_update(JTable table) {
  print("Updating last run table...");
  new L<SS> l;
  for (S s : uniquifyList(reversedList(scanRunLog()))) {
    S progID = s;
    int i = s.indexOf(' ');
    if (i >= 0) {
      progID = substring(s, 0, i);
      s = trim(substring(s, i+1));
    } else
      s = ""; // no arguments
    //S title = getSnippetTitle_cached(progID);
    l.add(litorderedmap("Program ID" := fsI(progID),
      "Title" := "?", "Arguments" := s));
  }
  lastRunTable_addProgramTitles(l);
  dataToTable_uneditable(l, table);
  ret l;
}

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: #1015906
Snippet name: lastRunTable_update
Eternal ID of this version: #1015906/5
Text MD5: 1b334152ca1a197de79792b5dbcbdcf2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-30 14:15:33
Source code size: 584 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 466 / 438
Version history: 4 change(s)
Referenced in: [show references]