Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1019484 // Questions & Answers

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (17700L/132K).

1  
!7
2  
3  
concept QAndA {
4  
  S question, answer;
5  
}
6  
7  
module QuestionsAndAnswers > DynCRUD<QAndA> {
8  
  *() { super(QAndA); }
9  
  
10  
  start {
11  
    addCountToName();
12  
  }
13  
  
14  
  // API
15  
  
16  
  void addQAndA(S question, S answer) {
17  
    uniq_sync(QAndA, +question, +answer);
18  
  }
19  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019484
Snippet name: Questions & Answers
Eternal ID of this version: #1019484/4
Text MD5: f053cd1333a1b9fefe4bbe75db5a9983
Transpilation MD5: f39205da75f38769795805b5ceb2a449
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-28 14:09:57
Source code size: 274 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 1979
Version history: 3 change(s)
Referenced in: [show references]