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

28
LINES

< > BotCompany Repo | #1004845 // AI Jobs [manage jobs for the AI]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3678L/24K/81K).

1  
!752
2  
3  
!include #1004681 // Concepts
4  
!include #1004848 // AIJob
5  
6  
sclass Doing extends Concept {
7  
  new Ref<AIJob> theJob;
8  
  S programDoingIt;
9  
  S vmID;
10  
  bool done;
11  
}
12  
13  
p {
14  
  loadConcepts();
15  
  autoSaveConcepts();
16  
  
17  
  makeBot("AI Jobs.");
18  
  
19  
  /*
20  
  Concept job = cnew("AIJob");
21  
  cset(job, "description", "Show a clapping audience");
22  
  cset(job, "hot", true); // << enable!
23  
  */
24  
}
25  
26  
answer {
27  
  try answer exposeMethods(s, "xlist", "xnew", "xset", "xdelete", "xget");
28  
}

Author comment

Began life as a copy of #1004843

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, bkpbhqsukdzp, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004845
Snippet name: AI Jobs [manage jobs for the AI]
Eternal ID of this version: #1004845/1
Text MD5: 199d4635d823a7fc6074e45f34ec581d
Transpilation MD5: 87c5ef8111ca5c0238c2ae13acb2f843
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-05 21:58:29
Source code size: 491 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 647 / 1102
Referenced in: [show references]