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

8
LINES

< > BotCompany Repo | #1009507 // uploadVerb

JavaX fragment (include)

// returns true if verb was uploaded (false if already there)
static bool uploadVerb(S verb) {
  verb = toLower(verb);
  if (knownVerbs().contains(verb)) false;
  editSnippet(#1009502, rtrim(loadSnippet(#1009502)) + "\n" + verb);
  knownVerbs().add(verb);
  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: #1009507
Snippet name: uploadVerb
Eternal ID of this version: #1009507/4
Text MD5: af62bea170bf1523cf3b2a08ca17e61b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-04 19:08:31
Source code size: 272 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 504
Version history: 3 change(s)
Referenced in: [show references]