Uses 911K of libraries. Click here for Pure Java version (10419L/52K).
1 | !7 |
2 | |
3 | cmodule ConvoPopupSingleModule > DynConvo { |
4 | switchable S forModuleID; |
5 | |
6 | start { |
7 | dm_watchFieldAndNow forModuleID(r { |
8 | if (dm_moduleExists(forModuleID)) |
9 | dm_setModuleName("Conversation with: " + dm_moduleName(forModuleID)); |
10 | else |
11 | dm_resetModuleName(); |
12 | }); |
13 | dm_vmBus_onMessage_q chatUserInput(voidfunc(O mod, S s) -> { |
14 | if (!dm_isMe(mod)) ret; |
15 | reply(trim(strOrNull(dm_rcallOpt answer(forModuleID, s)))); |
16 | }); |
17 | } |
18 | } |
Began life as a copy of #1026600
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: | #1027446 |
Snippet name: | Conversation with a module |
Eternal ID of this version: | #1027446/12 |
Text MD5: | bc7a701edf7294fd19c8ec065d94aab2 |
Transpilation MD5: | 98a4dfe050bfa7797af72e7007aff56c |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-20 19:01:51 |
Source code size: | 487 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 821 |
Version history: | 11 change(s) |
Referenced in: | [show references] |