Uses 1113K of libraries. Click here for Pure Java version (7880L/41K).
!7 cmodule2 Celebrate > DynBigNumber { Long num; start { setDescription("COMPUTERS"); doEveryAndNow(60.0, r updateIt); } void updateIt enter { bool hadNum = num != null; bool change = setField(num := numberOfComputers()) && hadNum; setValue(num); if (change) celebrate(); } void celebrate enter { infoBoxForever(n2(num, "computer") + "!!!"); applause(); } }
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: | 777 / 12034 |
| Version history: | 6 change(s) |
| Referenced in: | -