Libraryless. Click here for Pure Java version (49L/1K/2K).
1 | !636 |
2 | !modern |
3 | |
4 | main {
|
5 | static S programID; |
6 | |
7 | psvm {
|
8 | S file = logFile(); |
9 | new File(file).delete(); |
10 | print("Log file deleted: " + file);
|
11 | } |
12 | |
13 | static S logFile() {
|
14 | return new File(userHome(), ".javax/#745/learnerlog.txt").getPath(); |
15 | } |
16 | } |
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: | 947 / 978 |
| Referenced in: | [show references] |