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

15
LINES

< > BotCompany Repo | #1015627 // Show "run first program" suggestion

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8775L/62K).

1  
!7
2  
3  
p-subst {
4  
  autoRestart();
5  
  
6  
  final File f = programFile(#1000825, "search-results.txt");
7  
  watchFile(f, 50, r {
8  
    Map data = unstructFile(f);
9  
    printStruct(data);
10  
    L<Snippet> snippets = cast mapGet(data, "results");
11  
    final Snippet s = first(snippets);
12  
    if (s == null) ret;
13  
    showSuggestion("Run? " + s.id + " - " + s.title, "nohupJavax(" + s.id + ");");
14  
  });
15  
}

Author comment

Began life as a copy of #1015597

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: #1015627
Snippet name: Show "run first program" suggestion
Eternal ID of this version: #1015627/8
Text MD5: f783f7c563f92b8735405f8cd1ff13c7
Transpilation MD5: ff19a0d9aaa8c3f2511beeab04380ae7
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-20 13:47:48
Source code size: 397 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 496 / 1184
Version history: 7 change(s)
Referenced in: [show references]