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

7
LINES

< > BotCompany Repo | #1010176 // unpackOK

JavaX fragment (include)

1  
static S unpackOK(S s) {
2  
  if (eqic(s, "OK")) ret "";
3  
  new Matches m;
4  
  if (swic(s, "OK ", m))
5  
    ret $1;
6  
  fail(s);
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010176
Snippet name: unpackOK
Eternal ID of this version: #1010176/2
Text MD5: 1b2ee05ab951c4a43f7d0221c5aa1e6e
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-05 20:22:13
Source code size: 126 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 437
Version history: 1 change(s)
Referenced in: [show references]