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

7
LINES

< > BotCompany Repo | #1022368 // dm_set - set field in module

JavaX fragment (include)

1  
svoid dm_set(O moduleOrID, S field, O value) {
2  
  call(dm_getModule(moduleOrID), 'setField, field, value);
3  
}
4  
5  
svoid dm_set(S field, O value) {
6  
  dm_set(dm_current_generic(), field, value);
7  
}

Author comment

Began life as a copy of #1020131

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cfunsshuasjs, dpqxeycirhfy, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1022368
Snippet name: dm_set - set field in module
Eternal ID of this version: #1022368/5
Text MD5: 2542e43420ea1da63d71b2d6c076d7da
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-27 15:09:40
Source code size: 195 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 399 / 416
Version history: 4 change(s)
Referenced in: [show references]