Libraryless. Click here for Pure Java version (3156L/20K/68K).
!752 !include #1004863 // Dynamic Concepts sclass Counter extends Concept { long n; *() {} *(long *n) {} } p { mainConcepts.loadConcepts(); mainConcepts.autoSaveConcepts(); long n = max(0, maxL(collect(mainConcepts.listConcepts(Counter.class), "n")))+1; print("n=" + n); new Counter(n); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wltunwwkxhxr
No comments. add comment
Snippet ID: | #1004864 |
Snippet name: | Test Dynamic Concepts |
Eternal ID of this version: | #1004864/1 |
Text MD5: | a69988c554addbc3c6e7d6c521d1be6f |
Transpilation MD5: | b5d081182f52b17d01f603853e5c2638 |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-20 12:33:03 |
Source code size: | 331 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 549 / 686 |
Referenced in: | #1004866 - Collect "Signed User Statements" which are possible AI Jobs (dev.) #1005278 - Test Scenarios |