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

6
LINES

< > BotCompany Repo | #1013451 // defineStandardFunction

JavaX fragment (include)

static S defineStandardFunction(S src) {
  S name = first(findFunctionDefinitions(src));
  if (hasStandardFunction(name)) ret "Already defined: " + name;
  S snippetID = createSnippet(src, name + " [uploaded by machine]", javaxIncludeSnippetType());
  ret addStdFunction(snippetID, true);
}

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: #1013451
Snippet name: defineStandardFunction
Eternal ID of this version: #1013451/5
Text MD5: 2fc96ed25094cb92dc8c2eb458568b6e
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 02:44:07
Source code size: 295 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 304
Version history: 4 change(s)
Referenced in: [show references]