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

16
LINES

< > BotCompany Repo | #1016860 // Free Disk Space [on home partition, Dyn Module]

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

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

!7

cmodule FreeDiskSpace > DynBigNumber {
  switchable bool inGigabytes;

  start {
    setDescription("FREE DISK");
    doEveryAndNow(5000, r actualUpdate);
  }
  
  void actualUpdate {
    //time "FDS" { // 0-1 ms
      setValue(str_toGBorMB(inGigabytes, freeDiskSpace()));
    //}
  }
}

Author comment

Began life as a copy of #1016598

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016860
Snippet name: Free Disk Space [on home partition, Dyn Module]
Eternal ID of this version: #1016860/5
Text MD5: 8e66574f12608eb963524413bc7c65fa
Transpilation MD5: d55362d95a20fadda32b0921b0cd5971
Author: stefan
Category: javax / modules
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 18:27:11
Source code size: 305 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 29654
Version history: 4 change(s)
Referenced in: [show references]