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).

1  
!752
2  
3  
p {
4  
  if (!amIAware()) run("#1004078");
5  
  while (findAPC() == null) {
6  
    print("Waiting for a PC to contact me...");
7  
    sleepSeconds(5);
8  
  }
9  
  print("\nComputing on PC!\n");
10  
  double result = cast onPC("sqrt(2)");
11  
  printAsciiHeading("RESULT!");
12  
  print(result);
13  
  print();
14  
}

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: 531 / 610
Referenced in: [show references]