static void smartBot_savePrintLog(S expression, S printed) { File f = countTillNewFile(prepareProgramFile("printlogs/printlog"), ".txt"); saveTextFile(f, dateWithTimeGMT() + "\n\n" + expression + "\n\n----\n\n" + printed); print("Saved print log: " + f2s(f)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012291 |
Snippet name: | smartBot_savePrintLog |
Eternal ID of this version: | #1012291/4 |
Text MD5: | c83f82c8871ea639737c544d109233f1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-27 12:39:45 |
Source code size: | 271 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 409 / 453 |
Version history: | 3 change(s) |
Referenced in: | [show references] |