Uses 1113K of libraries. Click here for Pure Java version (7880L/41K).
1 | !7 |
2 | |
3 | cmodule2 Celebrate > DynBigNumber { |
4 | Long num; |
5 | |
6 | start { |
7 | setDescription("COMPUTERS"); |
8 | doEveryAndNow(60.0, r updateIt); |
9 | } |
10 | |
11 | void updateIt enter { |
12 | bool hadNum = num != null; |
13 | bool change = setField(num := numberOfComputers()) && hadNum; |
14 | setValue(num); |
15 | if (change) celebrate(); |
16 | } |
17 | |
18 | void celebrate enter { |
19 | infoBoxForever(n2(num, "computer") + "!!!"); |
20 | applause(); |
21 | } |
22 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018826 |
Snippet name: | Celebrate New Computer [Dyn Module] |
Eternal ID of this version: | #1018826/7 |
Text MD5: | 7d4cb9bf488460b84ff222084d69d2f9 |
Transpilation MD5: | 2e0ac9c187f9eda372160ac098c6f819 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-28 16:35:34 |
Source code size: | 413 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 354 / 11486 |
Version history: | 6 change(s) |
Referenced in: | [show references] |