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

14
LINES

< > BotCompany Repo | #1026870 // Say something on boot

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

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

1  
!7
2  
3  
cmodule SayOnBoot > DynPrintLogAndEnabled {
4  
  S msg1 = "Einen Moment noch", msg2 = "Bin bereit!";
5  
  
6  
  start-thread {
7  
    if (!enabled) ret;
8  
    if (dm_osBooting()) {
9  
      dm_say(msg1);
10  
      while (dm_osBooting()) sleepSeconds(0.1);
11  
    }
12  
    dm_say(msg2);
13  
  }
14  
}

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: #1026870
Snippet name: Say something on boot
Eternal ID of this version: #1026870/4
Text MD5: e94c3a3c302a063f3b25f03d206f7774
Transpilation MD5: 91c11b8e84184c2af8ffb6571ecc6eb3
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-02-08 00:07:49
Source code size: 281 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 184 / 1220
Version history: 3 change(s)
Referenced in: [show references]