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

17
LINES

< > BotCompany Repo | #1001328 // What programs are running Bot (returns program IDs)

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

Libraryless. Click here for Pure Java version (1245L/9K/31K).

1  
!747
2  
3  
m {
4  
  p {
5  
    makeAndroid3("Running programs info bot.");
6  
  }
7  
  
8  
  static synchronized S answer(S s, L<S> history) {
9  
    if (match3("what programs are running?", s))
10  
      return structure(makeList());
11  
    return null;
12  
  }
13  
  
14  
  static L<S> makeList() {
15  
    return getListOfRunningProgramIDs();
16  
  }
17  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001328
Snippet name: What programs are running Bot (returns program IDs)
Eternal ID of this version: #1001328/1
Text MD5: 6826f6c7514629e8cea4855048868857
Transpilation MD5: b6f600e1a45a3e8abdc4f180b9e62b91
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-10 15:28:10
Source code size: 321 bytes / 17 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 599 / 682
Referenced in: [show references]