static File getProgramFile(S progID, S fileName) { if (new File(fileName).isAbsolute()) ret new File(fileName); ret new File(getProgramDir(progID), fileName); } static File getProgramFile(S fileName) { ret getProgramFile(getProgramID(), fileName); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001949 |
| Snippet name: | getProgramFile |
| Eternal ID of this version: | #1001949/1 |
| Text MD5: | f7a2a50c17feb40c300bfb8aa2cad85a |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-16 18:09:45 |
| Source code size: | 270 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1412 / 3336 |
| Referenced in: | #1002346 - secretProgramFile #1002427 - Accellerating 629 (SPIKE) #1004529 - getCacheProgramFile #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |