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

6
LINES

< > BotCompany Repo | #1006035 // evalInCertainBot - make sure a javaEvalBot with a certain name runs and eval Java in it

JavaX fragment (include)

// botProg = bot program to start if botName is not found
static O evalInCertainBot(S botName, S botProg, S java) {
  startBotSeparateVM(botName, botProg);
  S cmd = format("please eval java *", java);
  ret safeUnstructure(matchOK2OrFail(sendToLocalBot(botName, cmd)));
}

Author comment

Began life as a copy of #1006033

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006035
Snippet name: evalInCertainBot - make sure a javaEvalBot with a certain name runs and eval Java in it
Eternal ID of this version: #1006035/1
Text MD5: 399669945faf1a485799bf3a43e22fc7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 09:40:49
Source code size: 277 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 440 / 450
Referenced in: [show references]