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

20
LINES

< > BotCompany Repo | #1004854 // Add A.I. Job Bot

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

Uses 13052K of libraries. Click here for Pure Java version (4213L/28K/96K).

!752

!include #1004681 // Concepts

p-substance { // pretty look&feel
  kevin(""); // Pre-initialize Kevin
  makeBot("Add A.I. Job Bot.");
  
  consoleInputField().setText("Type what you want me to do.");
  swingLater(50, r { consoleInputField().selectAll(); });
  centerBigConsole();
}

sS answer(S s) {
  s = trim(s);
  PassRef ref = cast rpc("AI Jobs.", "xnew", "AIJob", new O[]
    {"description", s, "addedByProgram", programID(), "hot", true});
  kevin("Top " + ref.id + ": " + s);
  ret "OK, job added as HOT with ID " + ref;
}

Author comment

Began life as a copy of #1004131

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: #1004854
Snippet name: Add A.I. Job Bot
Eternal ID of this version: #1004854/1
Text MD5: 7503d90ffcdad32740be7a8312def338
Transpilation MD5: 22ead78e34b9e42ec3eca5a0a0331e19
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-06 02:27:29
Source code size: 552 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 505 / 603
Referenced in: