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).

!7

cmodule AlarmTimeDialog > DynSayAndInputBot {
  class Bot extends AbstractSayAndInputBot2 implements Runnable {
    public void run {
      say("When should the alarm ring?");
      S s = input();
      assume(quote(s) + " is a clock time");
      say("OK, ringing at " + s);
    }
  }
  
  Bot makeBot() { ret new Bot; }
}

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: 206 / 438
Version history: 2 change(s)
Referenced in: [show references]