static S matchOK2OrFail(S s) { if (swic(s, "ok ")) ret substring(s, 3); else if (eqic(s, "ok")) ret "ok"; else fail(s); }
Began life as a copy of #1006038
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: | #1006050 |
Snippet name: | matchOK2OrFail - match simpler version of "ok bla" |
Eternal ID of this version: | #1006050/3 |
Text MD5: | 90fb412050b09dd204ea65493e48a5fb |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-01 19:26:32 |
Source code size: | 146 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 454 / 472 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014756 - unstructure_matchOK2OrFail |