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

19
LINES

< > BotCompany Repo | #1016025 // Word And Me [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (4552L/30K).

1  
!7
2  
3  
set flag NoFancyMechParsing.
4  
5  
sclass WordAndMe extends DynCalculatedList {
6  
  S word;         // input
7  
  L<S> options;   // output
8  
  
9  
  L<S> calc() {
10  
    ret options;
11  
  }
12  
  
13  
  void update {
14  
    if (dm_grabInterestingString(this, 'word)) {
15  
      setField(options := mechList_opt(print(word + " & me")));
16  
    }
17  
    super.update();
18  
  }
19  
}

Author comment

Began life as a copy of #1016013

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: #1016025
Snippet name: Word And Me [Dyn Module]
Eternal ID of this version: #1016025/3
Text MD5: ac52d26f13474cc3facd04ec94829255
Transpilation MD5: 6e9816207a9b51c40608d234e008c9eb
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-08 18:38:26
Source code size: 355 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 555
Version history: 2 change(s)
Referenced in: [show references]