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

13
LINES

< > BotCompany Repo | #1000579 // Snippet finding test (by title)

JavaX source code - run with: x30.jar

!636
!standard functions

main {
  psvm {
    String title = "Magnets";
    String url = "http://tinybrain.de:8080/nt-int/find_title_lin.php?title=" + urlencode(title) + "&alltypes=1";
    for (String line : toLines(loadPage(url))) {
      if (line.length() != 0)
        System.out.println("ID found: " + line);
    }
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000579
Snippet name: Snippet finding test (by title)
Eternal ID of this version: #1000579/1
Text MD5: ec9bc70e6468127e84c7a9a442bcc70e
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-14 23:07:45
Source code size: 336 bytes / 13 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 624 / 547
Referenced in: [show references]