Libraryless. Click here for Pure Java version (3031L/19K/67K).
1 | !752 |
2 | |
3 | !include #1005277 // Scenarios |
4 | |
5 | sclass Counter extends Concept { |
6 | long n; |
7 | |
8 | *() {} |
9 | *(long *n) {} |
10 | } |
11 | |
12 | p { |
13 | loadAndAutoSaveConcepts(); |
14 | |
15 | long n = max(0, maxL(collect(mainScenario.listConcepts(Counter.class), "n")))+1; |
16 | print("n=" + n); |
17 | new Counter(n); |
18 | } |
Began life as a copy of #1004864
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: | #1005278 |
Snippet name: | Test Scenarios |
Eternal ID of this version: | #1005278/1 |
Text MD5: | 56ac897ed11760e841440bd50d3c3c8d |
Transpilation MD5: | 116e4bc8e4d55a6e3f1ce1e2a01b8641 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-29 01:26:24 |
Source code size: | 284 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 538 / 595 |
Referenced in: | [show references] |