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

9
LINES

< > BotCompany Repo | #1005810 // Go offline! - switch JavaX to "offline mode" (only use locally held snippets and programs)

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

Libraryless. Click here for Pure Java version (1095L/7K/26K).

!752

p {
  if (!isOfflineMode()) {
    goOfflineMode();
    print("Now in offline mode!");
  } else
    print("Already in offline mode.");
}

Author comment

Began life as a copy of #1005809

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005810
Snippet name: Go offline! - switch JavaX to "offline mode" (only use locally held snippets and programs)
Eternal ID of this version: #1005810/1
Text MD5: 21562dbd8e272f617af5b2356cf723da
Transpilation MD5: 4fe24e5406f53d617182ab76d4402c19
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-09 13:21:36
Source code size: 149 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 499 / 600
Referenced in: [show references]