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

12
LINES

< > BotCompany Repo | #1027091 // embedded swappable test (it actually works, but very useful it isn't)

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

Download Jar. Libraryless. Click here for Pure Java version (2913L/19K).

!7

answer {
  embedded swappable S aUsefulJob() {
    ret "gardener";
  }
  
  if "What is your job" {
    S job = aUsefulJob();
    ret empty(job) ? "I don't know" : "I am " + aOrAnOpt(job);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

-
Snippet ID: #1027091
Snippet name: embedded swappable test (it actually works, but very useful it isn't)
Eternal ID of this version: #1027091/2
Text MD5: 4c70901940393f907efa24b8b30d1353
Transpilation MD5: 1aef7edbb762872122bba5ad4f7479ed
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-17 16:59:04
Source code size: 209 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 823
Version history: 1 change(s)
Referenced in: