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

4
LINES

< > BotCompany Repo | #1002274 // getFromOtherBot - read a variable of another running bot

JavaX fragment (include)

static O getFromOtherBot(S botID, S varName) {
  O bot = call(getMainBot(), "getBot", botID);
  ret get(bot, varName);
}

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: #1002274
Snippet name: getFromOtherBot - read a variable of another running bot
Eternal ID of this version: #1002274/1
Text MD5: 15cb7d4e02ee0f57df153cb3b9d460a4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-15 00:50:52
Source code size: 125 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 630 / 843
Referenced in: #1002275 - getBot - get reference to another running bot
#1002276 - callOtherBot - call a function of another running bot
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)