Libraryless. Click here for Pure Java version (5015L/33K/110K).
1 | !752 |
2 | |
3 | concepts. |
4 | |
5 | sS progID = "#1005389"; |
6 | static long minID = 37, maxID = 1000; |
7 | sbool doIt = true; |
8 | |
9 | p { |
10 | loadConceptsFrom(progID); |
11 | int n = 0; |
12 | for (Concept c : allConcepts()) { |
13 | print(c.id + " " + dynamicClassName(c) + " " + className(c)); |
14 | if (c.id >= minID && c.id <= maxID) { |
15 | c.delete(); |
16 | ++n; |
17 | } |
18 | } |
19 | //print(structure(concepts)); |
20 | if (n != 0 && doIt) { |
21 | print(n(n, "concepts") + " deleted, saving back to " + progID); |
22 | saveConceptsBack(); |
23 | } |
24 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005398 |
Snippet name: | Delete concepts from a program within an ID range |
Eternal ID of this version: | #1005398/1 |
Text MD5: | a8bf44cd9299ab99fb33acbda730ca3d |
Transpilation MD5: | 65979110d3c516ef822a6745facac49e |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-14 01:39:20 |
Source code size: | 503 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 547 / 623 |
Referenced in: | [show references] |