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

5
LINES

< > BotCompany Repo | #1024080 // dm_copyModuleToOtherMachine - returns module ID in destination VM [seems to work]

JavaX fragment (include)

sS dm_copyModuleToOtherMachine(O mod, S targetComputerID) {
  S struct = dm_moduleStructForDuplication(mod);
  ret (S) dm_evalOnOtherMachine(targetComputerID, "dm_restoreModule("
    + quote(struct) + ")");
}

Author comment

Began life as a copy of #1023935

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024080
Snippet name: dm_copyModuleToOtherMachine - returns module ID in destination VM [seems to work]
Eternal ID of this version: #1024080/2
Text MD5: 60ffc9fd729ac3ee6503dd990d06d11e
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-28 14:35:16
Source code size: 212 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 184
Version history: 1 change(s)
Referenced in: [show references]