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

16
LINES

< > BotCompany Repo | #1000710 // Delete learner log

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (49L/1K/2K).

!636
!modern

main {
  static S programID;
  
  psvm {
    S file = logFile();
    new File(file).delete();
    print("Log file deleted: " + file);
  }
  
  static S logFile() {
    return new File(userHome(), ".javax/#745/learnerlog.txt").getPath();
  }
}

Author comment

Began life as a copy of #745

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000710
Snippet name: Delete learner log
Eternal ID of this version: #1000710/1
Text MD5: 8d4ee6e3dfd08cf8c91d2bc780d93ac7
Transpilation MD5: 22de9cbe2a2a2a40e55263c987f7c2c0
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-23 17:21:14
Source code size: 271 bytes / 16 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 685 / 661
Referenced in: #1000712 - Show learner log
#3000382 - Answer for ferdie (>> t = 1, f = 0)