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

14
LINES

< > BotCompany Repo | #1005419 // Test onPC / quickPCEval [WORKS]

JavaX source code (Android) [tags: use-pretranspiled] - run with: the app

Libraryless. Click here for Pure Java version (3102L/21K/67K).

!752

p {
  if (!amIAware()) run("#1004078");
  while (findAPC() == null) {
    print("Waiting for a PC to contact me...");
    sleepSeconds(5);
  }
  print("\nComputing on PC!\n");
  double result = cast onPC("sqrt(2)");
  printAsciiHeading("RESULT!");
  print(result);
  print();
}

Author comment

Began life as a copy of #1005417

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005419
Snippet name: Test onPC / quickPCEval [WORKS]
Eternal ID of this version: #1005419/1
Text MD5: 3522d6e4e9939aeda6f01c098c94e516
Transpilation MD5: 71c96d07c401c8d941b5d458f39ddb23
Author: stefan
Category: javax / networking
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-16 14:28:15
Source code size: 296 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 536
Referenced in: [show references]