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

6
LINES

< > BotCompany Repo | #1012784 // ai_spec_executeBestSplit

JavaX fragment (include)

static void ai_spec_executeBestSplit(S s) {
  if (!isNormalQuoted(s)) ret;
  int idx = ai_intOrMinus1(s, "is best split at index", "$X");
  if (idx < 0) ret;
  post(s, "best-splits to", sfu(splitStringAtIndices(unquote(s), ll(idx))));
}

Author comment

Began life as a copy of #1012097

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012784
Snippet name: ai_spec_executeBestSplit
Eternal ID of this version: #1012784/1
Text MD5: fc9e838847465bc90088334cad5c7572
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 03:19:32
Source code size: 241 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 394 / 419
Referenced in: [show references]