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

13
LINES

< > BotCompany Repo | #1011492 // ai_sfCommands

JavaX fragment (include)

1  
static S ai_sfCommands(S s) {
2  
  new Matches m;
3  
  if (swic_trim(s, "!sfargs ", m))
4  
    ret joinWithComma(allToString(numbersOfStandardFunctionArguments(m.rest())));
5  
    
6  
  if (swic_trim(s, "!callsf ", m)) {
7  
    S name = m.rest();
8  
    assertIdentifier(name);
9  
    ret sfu(callAndMakeOrDirect_safe(name));
10  
  }
11  
    
12  
  null;
13  
}

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: #1011492
Snippet name: ai_sfCommands
Eternal ID of this version: #1011492/8
Text MD5: 61f9c420f4e2b6ae3235ef1b44c3ad53
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-18 21:11:18
Source code size: 332 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 546 / 575
Version history: 7 change(s)
Referenced in: [show references]