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

11
LINES

< > BotCompany Repo | #1008352 // editSnippetVerbose

JavaX fragment (include)

static void editSnippetVerbose(S id, S text) {
  print("Trying to edit snippet " + id + " with standard credentials (" + standardCredentialsUser() + "), new chars= " + l(text));
  editSnippet(id, text);
  print("Edit successful!");
}

static void editSnippetVerbose(S id, S text, S user, S pass) {
  print("Trying to edit snippet " + id + " as user " + user + (nempty(pass) ? " (+pw)" : " (no pw)";
  editSnippet(id, text, user, pass);
  print("Edit successful!");
}

Author comment

Began life as a copy of #1002334

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: #1008352
Snippet name: editSnippetVerbose
Eternal ID of this version: #1008352/2
Text MD5: 75ab04689812cd1f7f796dab4e3dca32
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-09 15:13:53
Source code size: 476 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 567 / 602
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)