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

10
LINES

< > BotCompany Repo | #1001480 // programsRunningInVM

JavaX fragment (include)

// returns "naked" ids (without the #)
static L<S> programsRunningInVM(int vmPort) {
  S s = sendToLocalBot(vmPort, "which programs are you running (ids only)");
  new Matches m;
  if (match3("these: *", s, m)) {
    L<S> l = (L) unstructure(unquote(m.m[0]));
    return l;
  }
  return litlist();
}

Author comment

Began life as a copy of #1001473

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: #1001480
Snippet name: programsRunningInVM
Eternal ID of this version: #1001480/1
Text MD5: 3a84fe96e2589a09ca674194ae72eddb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-17 19:38:27
Source code size: 308 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 605 / 814
Referenced in: [show references]