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

14
LINES

< > BotCompany Repo | #1022808 // Set time for alarm dialog [dev.]

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

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

1  
!7
2  
3  
cmodule AlarmTimeDialog > DynSayAndInputBot {
4  
  class Bot extends AbstractSayAndInputBot2 implements Runnable {
5  
    public void run {
6  
      say("When should the alarm ring?");
7  
      S s = input();
8  
      assume(quote(s) + " is a clock time");
9  
      say("OK, ringing at " + s);
10  
    }
11  
  }
12  
  
13  
  Bot makeBot() { ret new Bot; }
14  
}

Author comment

Began life as a copy of #1022799

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022808
Snippet name: Set time for alarm dialog [dev.]
Eternal ID of this version: #1022808/3
Text MD5: 6076b2929cf8d30bc9e9c9376416ade5
Transpilation MD5: 2c0bfd54c426efa5d749ffb8c04ab1ea
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: 2019-04-08 13:59:25
Source code size: 340 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 442
Version history: 2 change(s)
Referenced in: [show references]