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)

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

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: 443 / 467
Referenced in: [show references]