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

15
LINES

< > BotCompany Repo | #1002360 // Variables HTML Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (369L/3K/10K).

!752

static new L<L<S>> allVariables; // bot ID + variable name

p {
  allVariables.add(litlist(programID(), "allVariables"));
}

static S html() {
  new StringBuilder buf;
  for (L<S> l : allVariables)
    buf.append(htag("li", l.get(0) + "." + l.get(1)));
  
  ret htag("p", "Variables I know:") + htag("ul", buf);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002360
Snippet name: Variables HTML Bot
Eternal ID of this version: #1002360/1
Text MD5: 8805e88e9455df5720152e3dc2a6299d
Transpilation MD5: 4beea6e405905042f967b3fcf892aed8
Author: stefan
Category: eleu
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-18 16:52:08
Source code size: 333 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 628 / 1254
Referenced in: [show references]