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

20
LINES

< > BotCompany Repo | #1026354 // ELE: Current Input

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

Uses 911K of libraries. Click here for Pure Java version (5760L/27K).

!7

cmodule ELECurrentInput {
  S input;
  
  visual fontSizePlus(20, dm_centeredTextField input());
  
  start {
    dm_registerAs eleCurrentInput();
    dm_onUserUtterance/*WithoutMine*/(s -> {
      if (!setField(input := s))
        vmBus_send eleSameInputAgain(s);
    });
    dm_watchField input(r { vmBus_send eleNewInput(input) });
  }
  
  // API
  
  S currentInput() { ret input; }
}

Author comment

Began life as a copy of #1026353

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026354
Snippet name: ELE: Current Input
Eternal ID of this version: #1026354/10
Text MD5: 78480d050c05ed052382c47dc68ff0b3
Transpilation MD5: c38db262cd4c4fdd839fc2521ea0c614
Author: stefan
Category: javax / electronic logic engine
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-22 00:14:21
Source code size: 413 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 6113
Version history: 9 change(s)
Referenced in: [show references]